Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

07 — Advanced & Production

Testing, debugging, concurrency, internals, performance, best practices.

How each lesson works

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

python3 core-python/modules/07-advanced-and-production/01_unittest_basics.py

Lessons

File Topic
01_unittest_basics.py unittest
02_pytest_style.py pytest
03_mocking.py unittest.mock
04_debugging_pdb.py pdb debugger
05_threading.py Threads, Lock
06_multiprocessing.py Processes, Pool
07_asyncio.py async/await
08_dataclasses.py @dataclass
09_descriptors.py Descriptors
10_metaclasses_intro.py Metaclasses
11_slots_abstract.py slots, ABC
12_gil_and_threading_impact.py GIL
13_memory_and_references.py Memory model
14_profiling_timeit.py Profiling
15_optimization_patterns.py Optimization
16_pep8_style.py PEP 8
17_virtual_env.py venv recap
18_documentation.py Docstrings
19_design_patterns.py Strategy, Factory

→ Review: interview-prep

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