Starting out
What Python actually is, what happens when you run a file, and how to read the error you are certainly about to get.
3 of 3 written
Every idea in the language built up from nothing, and every line on every page really ran.
50 of 50 lessons written. The bar on every card below is counted from the lesson files that exist, not from a number I typed. A lesson that is planned and unwritten says so on its own page too.
What Python actually is, what happens when you run a file, and how to read the error you are certainly about to get.
3 of 3 written
Numbers, text, and the four containers almost every Python program is built out of.
6 of 6 written
Branching, looping, comprehensions, and the pattern matching added to the language recently.
4 of 4 written
Arguments, the mutable-default trap, scope and closures: the machinery behind every abstraction later in the course.
5 of 5 written
How a program becomes more than one file, how Python finds it, and why every project gets its own environment.
3 of 3 written
Raising and catching exceptions on purpose, writing your own, and the with statement that guarantees cleanup.
3 of 3 written
Reading and writing real files, the text encoding problem, and the two data formats you will meet constantly.
3 of 3 written
What a class is for, the dunder methods that make your type behave like a built-in, and why composition usually beats inheritance.
5 of 5 written
The protocol behind every for loop, generators that produce values lazily, and the itertools that do it correctly for you.
3 of 3 written
Functions that take and return functions, the standard library built on that idea, and type hints that catch mistakes before you run anything.
3 of 3 written
Proving your code does what you claim, with the library that ships in the box.
2 of 2 written
Threads and what the GIL actually blocks, real parallelism with processes, and async for waiting on thousands of things at once.
3 of 3 written
The bytecode your code compiles to, how memory and references really behave, and measuring instead of guessing.
3 of 3 written
The protocols underneath properties and ORMs, metaclasses and why you probably should not, and the C boundary.
2 of 2 written
Turning a folder of scripts into something another person can install and run, and one project built end to end.
2 of 2 written
Newsletter
Occasional notes on shipping software with AI agents. No schedule, no filler, unsubscribe in one click.