Python Intermediate
A 7-lesson track. Python Intermediate lessons with clear explanations, runnable examples, best practices, and interview-focused practice.
- 1. Generators & IteratorsThe iterator protocol, yield, and lazy evaluation
- 2. DecoratorsWrapping functions to add behavior without changing their code
- 3. Context ManagersDeterministic setup and teardown with the with statement
- 4. OOP Basics — Classes & Inheritanceself, attributes, and the method resolution order
- 5. Modules & PackagesOrganizing code across files with import, __name__, and __init__.py
- 6. File HandlingReading, writing, and working with files safely
- 7. Data Classes & Structured Datadataclasses, namedtuples, and type hints
