
Advanced Python
Understand how CPython executes your code, then use the data model, concurrency, packaging and profiling to write Python that is fast and survives change
You will learn to
- Predict what CPython does with a line of code, from bytecode to memory
- Choose between threads, processes and asyncio with measured numbers
- Profile a real program and speed it up with results you can defend
Full outline of Advanced Python
Predict what CPython does with a line of code, choose a concurrency model with measured numbers, and profile and speed up a real program with results you can defend.
How CPython runs code
See How CPython Runs Your Code3 lessons · 1 free
- Read bytecode with dis and predict what a line costs
- Watch the specializing interpreter warm up
- Price calls and attribute lookups with a measured table
Account for Memory and Lifetime3 lessons · 1 free
Loading lessons. See the lessons in the course
Rebuild Dicts and Sets2 lessons · 1 free
Loading lessons. See the lessons in the course
Objects and the data model
Master the Data Model4 lessons · 1 free
Loading lessons. See the lessons in the course
Control Flow with Functions, Generators and Contexts4 lessons · 1 free
Loading lessons. See the lessons in the course
Concurrency
Choose a Concurrency Model5 lessons · 1 free
Loading lessons. See the lessons in the course
Design, test and ship
Design and Test for Change3 lessons · 1 free
Loading lessons. See the lessons in the course
Control Imports and Environments2 lessons · 1 free
Loading lessons. See the lessons in the course
Performance
Profile and Optimise with Measurements4 lessons · 1 free
Loading lessons. See the lessons in the course
Capstone
Speed Up a Real Program3 lessons
Loading lessons. See the lessons in the course
Project Report the speedup with intervals
















