Python from zero

A 26-topic route from Python syntax and data to tested command-line programs, explicit object contracts, static typing, and deliberate concurrency.

26 topics 5 checkpoints about 27 h beginner → intermediate
0%
0 of 26 topics · milestone 1 of 5 Continue: Python fundamentals

The map

done you are here needs the checkpoint before it checkpoint
Python from zero: 26 topics, 5 checkpoints. Python fundamentals Variables and data types Control flow List comprehensions Sets Functions Scope and namespaces *args and **kwargs Closures Generators and iterators Context managers asyncio

Milestone 1 · Syntax, values, and control flow

0 of 5 topics · about 89 min

Milestone 2 · Functions, scope, and iteration

0 of 5 topics · about 82 min

Milestone 3 · Objects and explicit interfaces

0 of 5 topics · about 50 min
soon Classes objects 10 min
soon Inheritance polymorphism 10 min
soon Magic methods 10 min
soon Dataclasses 10 min
soon Abc 10 min
Checkpoint 3 unlocks M4

Milestone 4 · Files, command lines, and tests

0 of 6 topics · about 65 min
1 Context managers 15 min
soon Pathlib file handling 10 min
soon Json 10 min
soon Argparse 10 min
soon Logging 10 min
soon Pytest 10 min
Checkpoint 4 unlocks M5

Milestone 5 · Types and concurrency

0 of 5 topics · about 52 min
soon Type hints 10 min
soon Typing advanced 10 min
3 asyncio 12 min
soon Threading multiprocessing 10 min
soon Concurrent futures 10 min
Checkpoint 5 done

Why this order: Values and control flow come first because every later example depends on them. Functions add binding, scope, closures, and lazy iteration before classes turn behavior into reusable object contracts. Resource handling, files, serialization, command-line parsing, logging, and tests then combine those mechanics in a small program. Type contracts and concurrency come last, when function boundaries, object ownership, failure propagation, and cleanup are already familiar.