Month 1 - Foundations: The Data Model, Idioms, and Packaging¶
Goal: by the end of week 4 you can (a) explain the Python data model in terms of __dunder__ protocols and the type / object relationship, (b) write idiomatic comprehensions, generators, and iterators without reaching for indices, (c) wield try/except/else/finally and context managers correctly, and (d) ship a Python project as a uv-managed, ruff+pyright-clean, pytest-tested package installable via pipx.
This month is the only month aimed at the beginner. After week 4 the curriculum assumes fluency.
Weeks¶
- Week 1 - Syntax, Values, Names, and the Data Model
- Week 2 - Control Flow, Functions, Errors, and the Call Model
- Week 3 - Collections, Comprehensions, Iterators, and Generators
- Week 4 - Modules, Packaging, Virtual Environments, and the Import System