Python Advanced takes experienced programmers through a key list of advanced Python topics. The course begins with a Python internals tour, introducing CPython memory, object and task management. Day one continues with coverage of Python compilers advanced metaprogramming topics and an in depth look at concurrency. Day two moves into async programming in Python, followed by observability, tuning and coding extensions in C. Students will take part in extensive hands-on labs, gaining experience and improving retention of concepts and processes. Upon completing the course, attendees will be comfortable operating at the highest levels with Python, creating sophisticated applications and libraries used by peers.
Internals labs have attendees trace CPython’s object model and memory allocator, then compare bytecode produced by different coding patterns to see how the compiler optimizes execution. Metaprogramming exercises build decorators and metaclasses that modify class behavior at creation time, while the concurrency module works through threading, the GIL, and multiprocessing so students know which tool fits which workload.
Day two opens with async/await, where attendees build event-loop-driven applications that handle many I/O-bound tasks concurrently without threads. Observability labs instrument running code with logging, tracing, and metrics, and performance tuning sessions profile that same code to find real bottlenecks before optimizing it. The course closes with C extensions, where students wrap performance-critical routines and call them directly from Python.
Who Should Attend
Developers
What Attendees Will Learn
Upon completing Python Advanced, attendees will be able to:
- Explain CPython internals, including memory, object, and task management
- Work with Python compilers and apply advanced metaprogramming techniques
- Write correct, efficient concurrent Python programs
- Build asynchronous Python applications using async/await
- Apply observability and performance tuning techniques to Python applications
- Extend Python with C extensions for performance-critical code
- Create sophisticated Python applications and libraries at a professional level
Prerequisites
Attendees must have prior professional programming experience in Python, equivalent to RX-M Python Foundation or Python Intermediate.