Learn Python like it's an adventure game.
Python runs the science, the automation and the AI. It is also the friendliest language ever put in front of a beginner. This school teaches it from absolute zero: 68 lessons, a workshop full of real projects, puzzles, XP, achievements, and a python named Monty who is mildly skeptical of your code.
Pick up where you left off
Your first program is thirty seconds away
Press โถ run. Then change a word and press it again. You cannot break anything.
name = "you"
print("Hello, world!")
print(f"Welcome to the school, {name}.")
for stage in ["curious", "confused", "dangerous"]:
print(f"Today you are {stage}.")
Hello, world!
Welcome to the school, you.
Today you are curious.
Today you are confused.
Today you are dangerous.
That is real CPython, compiled to WebAssembly, running inside this page. The first run downloads the interpreter (about 12 MB, once) and after that it is instant.
The language that ate the world quietly
Not hype. Here is what it is actually good at, with the receipts in the lessons.
It reads like English
No semicolons, no curly braces, no ceremony. Code you write in week one is still readable in year three, which is more than most languages manage.
It owns science and AI
The first image of a black hole, LIGO's gravitational waves, and essentially all modern machine learning were assembled with Python.
Batteries genuinely included
Dates, files, zip, JSON, databases, HTTP, testing: all built in. Then half a million more packages on PyPI for everything else.
It is how you talk to AI
Every major model provider ships a Python library first. Level 6 of this course builds you a private assistant with one.
It automates the boring
Rename 4,000 files, tidy a spreadsheet, back up a folder, scrape a page, post to an API. Fifty lines and an afternoon of your life back.
It is everywhere jobs are
Instagram, Netflix, Spotify, Dropbox and NASA all run production Python. It sits at or near the top of every language ranking published.
Seven levels, from "what is a variable" to "I built my own AI assistant"
Short lessons, heavy handholding, a lot of small wins. Progress saves in your browser.
๐๏ธ Before any code
What a computer is, what programming is, what Python is, and a terminal survival guide. Code-free and jargon-slaying.
Level 1 ยท First Words๐ฑ The whole language, small
Printing, variables, numbers, text, questions, decisions, loops, and how to read an error message without fear.
Level 2 ยท The Toolbox๐งฐ Data and functions
Lists, dictionaries, sets, comprehensions, and writing your own functions. This is where it starts to feel like power.
Level 3 ยท Real Programs๐๏ธ Software, not scripts
Files, exceptions, JSON, dates, regex, virtual environments, command-line tools, debugging and testing.
Level 4 ยท Pythonic๐ฉ The good stuff
Classes, dataclasses, generators, decorators, context managers, type hints, and concurrency explained honestly.
Level 5 ยท In the Wild๐ What people build
Automation, APIs, scraping, web apps, databases, data analysis, charts, games, packaging, performance and security.
Level 6 ยท Jarvis๐ค Your own AI assistant
How models actually work, your first API call, memory, streaming, tools, your own documents, voice, and running it all locally.
The Workshop๐จ Twelve real projects
Built from a spec, not a script: a dice game, a password vault, a Markdown blog engine, a Discord-style bot, and more.
Earn XP for things that actually make you better
Lessons: 100 XP
Read it, run the examples, do the exercises, mark it complete. Twelve ranks, from Stowaway to Harbourmaster of the Interpreter.
The Snake Pit: 60 XP a puzzle
Predict the output, find the bug, fix the code. Six tiers from Egg to Basilisk. Enter the pit โ
The Insult Compiler
Swordfighting where the insults are real Python error messages and the comebacks are the fixes. Error literacy is the most underrated beginner skill there is. Draw your sword โ
Achievements
Twenty-one of them, including one for finishing lessons at both schools on this campus. See the trophy cabinet โ
Projects: 250 XP
The cure for tutorial hell. A spec, a ladder of hints, a reference solution you only see if you want it. Open the workshop โ
The Python School shares its campus, design and accounts with The Rusty School, which teaches Rust from the same starting point. Python and Rust are the two most useful languages you can know at once: one for speed of thought, one for speed of machine. Sign in at either and your progress follows you to both.