Explore practical applications of advanced Python constructs in this 32-minute conference talk from EuroPython 2015. Delve into iterators, generators, decorators, and context managers, learning how to effectively implement these powerful features in real-world projects. Gain insights on using iterators for control flow, leveraging generators to save memory, applying decorators for caching and discovery, and utilizing context managers for debugging. Suitable for developers of all experience levels, the talk provides a brief introduction to each construct before demonstrating its practical usage, bridging the gap between theoretical knowledge and real-world implementation.
Overview
Syllabus
Python
Iterators
Control flow with generators
View of iterable map & filter
Complicated flatten
Save memory
Django cycle
Decorators
Can do
Discovery & metadata
Call or not
Caching
Dogpile
Ansible
Context managers
Digging deeper
Debug
Taught by
EuroPython Conference