0:24:42
Lazy Looping: The Next Iteration
DjangoCon US 2019 · October 18, 2019
Trey Hunner explains iterators as lazy, single-use iterables that compute and yield their next item only when needed. He shows how files, generator functions, and generator expressions produce or expose iterators; how iterators can be wrapped in chains and consumed by loops or functions such…