Skip to content
Python Learning logo

learn.py

Read it. Run it. Break it. Fix it.

Every chapter follows the same battle-tested loop:

Read

Theory explained in plain English — no jargon, no hand-waving. Concepts you actually understand, not just memorize.

Run

Every concept has a runnable example. See it in action before you write a single line yourself.

Practice

Exercises with real constraints. Fill in the stubs, make the tests green.

Verify

Tests prove your solution is correct — not just “looks right”. Red to green, that’s the goal.

01 — Object Oriented Programming

Classes, inheritance, encapsulation, properties, magic methods, ABCs and dataclasses. Start →

02 — Functional Programming

map(), filter(), reduce(), functional toolkit, closures, immutability, functional iteration. Start →

03 — Iterators and Generators

Coming soon.

07 — Concurrency and Parallelism

Threading, multiprocessing, async/await. Start →

09 — Memory management and Performance

Python. memory model, Garbage Collector, measuring performance. Start →