Overview
Build a Learning Habit
Download Class Central's free printable study calendar
Download for Free
Explore the practical application of Python generators in this 33-minute conference talk from EuroPython 2025. Learn how to effectively transform traditional functions and methods into generators by examining real project examples. Discover when generators provide memory savings versus when they introduce overhead, understand the complexity trade-offs involved, and explore testing strategies for generator-based code. Through live code conversion demonstrations, gain insights into when yield statements are more effective than return statements and when traditional approaches remain superior. Master the programming style changes required to leverage generators effectively in your Python projects.
Syllabus
The art of yield — Maxim Danilov
Taught by
EuroPython Conference