🏈 Python Season

About Python Season

A free Python course for kids who know every player and every stat, and have never written a line of code.

Coach Andrew pointing up with an idea

What it is

Python Season teaches the first steps of real programming through football and baseball. Each sport has a season of ten game days. Every game day is one lesson of about 40 minutes, set in a real stadium, with real NFL or MLB numbers.

It began as a set of notebooks a parent wrote for a 10-year-old who loves the NFL. The lessons follow the order most beginner courses for ages 10 to 12 use: variables, decisions, lists, loops, functions, dictionaries, then a project of the child's own.

How a lesson works

For parents

Sit with your child for the first game. After that, most children can play on their own, and the review at the end tells you what to practice.

Privacy

We built the site so that it needs nothing from a child. There is nowhere on it to type a message to us, to the coach or to anyone else.

WhatWhere it goes
Name, email, accountNever asked for. There are no accounts.
Progress (which games are won, calendar start date, voice on or off)Saved only in this browser on this device. Clearing the browser's site data erases it.
The code and answers your child typesThey run inside the browser and are checked there. They are never sent to us or to anyone else.
The coach's voiceRecordings that are part of the site. The microphone is never used.
The device's internet address (IP address)Every website's hosting company sees it in order to send the pages, and may keep it for a short time in its security logs. We use it for nothing else: not to recognize, contact or learn about anyone.

Two parts of the game come from other services, which also see the device's internet address when they send their files: the map pictures (Mapbox) and the Python engine (jsDelivr). Fonts and everything else come from our own site.

There are no ads. We use Google Analytics to count visits and to see which lessons are used. It sets one cookie in this browser and sends Google the pages opened, the kind of device and the rough location (city or region) worked out from the internet address. Advertising features are switched off, the data is kept for two months, and we do not build profiles, try to identify anyone, or sell or share anything.

Questions about privacy? Parents can write to us through the project's GitHub page.

How the coach works

If something he says is wrong or unclear, please tell us through the GitHub page above.

Where the numbers come from

How it's built

For the grown-ups who like to look under the hood. The whole site is plain files: web pages, a few scripts, pictures and small data tables. There is no app server, no database and no accounts behind it.

Every lesson is tested by a script that plays it from start to finish in real Python. All the code is open on the project's GitHub page.

Python Season is an independent educational project. It is not connected to, sponsored by or endorsed by the NFL, MLB or any team. Team and stadium names are used only to describe real places and statistics.

See the season calendar