Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

06 — Intermediate Python

Comprehensions, generators, decorators, type hints, stdlib, functional patterns.

How each lesson works

Each .py file contains THEORY (docstring at top) + PRACTICE (numbered runnable sections).

python3 core-python/modules/06-intermediate-python/01_list_comprehensions.py

Lessons

File Topic
01_list_comprehensions.py List comprehensions
02_dict_set_comprehensions.py Dict/set comps
03_generators.py yield, lazy evaluation
04_iterators_iterables.py iter, itertools
05_decorators.py Function decorators
06_decorator_patterns.py Parameterized decorators
07_context_managers.py with statement
08_property_classmethod.py @property, @classmethod
09_basic_types.py Type annotations
10_advanced_types.py Optional, Union, Protocol
11_typed_classes.py TypedDict, Generic
12_datetime.py datetime module
13_collections.py Counter, defaultdict, deque
14_itertools_functools.py itertools, functools
15_os_sys_pathlib.py os, pathlib
16_map_filter_reduce.py Functional basics
17_partial_currying.py partial, curry
18_immutable_patterns.py Immutability
19_higher_order_functions.py HOF, compose

→ Next: 07-advanced-and-production

Interview prep: INTERVIEW.md — 28+ questions with answers