Olga Ostrovskiy

Notes · November 16, 2026

Making Python Season for my son

This weekend I sat down and kept working on the sports Python project for my son, and I kept finding things I wanted to improve. I wouldn’t say I’m deeply into it myself. But he is, so the ideas keep coming.

This time I noticed the usual Python notebooks in Colab were not working for him. They felt so boring to him, more like a chore, so I decided to make it more of a game.

The notebooks were already there, with football and baseball questions to work through in Python, and I wanted to give them a different home. I vibe coded the whole site over one weekend with Claude Code (Claude Fable 5.2). It’s called Python Season.

A season of Python

The home page is a season calendar, and each lab is a game day at an NFL or MLB stadium on a map of the US. The scoreboard says YOU vs BUGS. There are 20 labs: 10 football and 10 baseball.

Each lab starts with a question a fan might already care about, so the code has something to answer. The first asks whether speed makes a great receiver. It ends with a scatter chart: fast and slow receivers both became stars.

Coach Andrew is a cartoon football in the NFL labs, and he becomes a baseball for MLB. He checks every code box. When something goes wrong, he explains it in plain words and gives hints step by step, then finishes the lab with a short review.

Python runs inside the page through Pyodide, with pandas and matplotlib, so there is nothing to install before starting. No account either. The code a child types stays in the browser.

What needed fixing

An endless loop was enough to freeze the whole page, so a child making a Python mistake could also get stuck with a page that stopped responding. I moved Python into the background. A Stop button now appears after about 3 seconds.

Leaving a lab halfway through lost everything, and that bothered me enough to change how progress was saved. The lab in progress now stays in the browser. When you return, the coach offers “Continue where you stopped” or “Start over.”

Each stadium has a short fact from the coach, and checking all 20 stadiums led to corrections in 7 lines. The AT&T Stadium screen is about 53 yards, not 60.

The first map used a service that needed a key, so I replaced it with one drawing of the 48 states made from US Census Bureau outlines. There is no map service now, and no key.

The first coach had a question box answered by Google’s Gemini, and a live AI voice. I checked the rules late, after I had built both. Gemini’s API terms exclude sites directed towards or likely to be accessed by under-18s. I also found that COPPA, the US children’s privacy law, requires verifiable parental consent before free text typed by children under 13 is sent to another company, so I launched without the question box or live voice. The hints are written ahead of time, and Coach Andrew uses recorded lines: 314 so far.

In the end I couldn’t resist and looked through the code anyway.

Open it tonight

If you have a sports-loving kid at home, Python Season is free to open tonight, and the first lab gives you a football question to work through together. There are no ads. There is nowhere for a child to type a message.

For anyone interested in the build, the code is open source. The labs started as Colab notebooks for my 10-year-old son. He’s an NFL fan.

A shorter version is on X, November 16, 2026.