Hands-on · Example-driven · No fluff

Python patterns explained with working code

Each tutorial here starts with a real problem, shows exactly what the language feature does to solve it, and explains the tradeoffs so you know when to reach for it again. No slides, no quiz questions, no filler.

Latest tutorials

All tutorials →

What this site covers

Core Language

Comprehensions, generators, decorators, context managers, and the other features that separate readable Python from verbose Python.

Standard Library

File I/O, regular expressions, collections, and pathlib. The batteries that are already included, shown in context you will actually encounter.

Modern Idioms

Type hints, f-strings, virtual environments, and the conventions that make code easier to read, test, and hand off to other people.