David Beazley: Generators: The Final Frontier - PyCon 2014

Speaker: David Beazley Python generators have long been useful for solving all sorts of problems involving iteration and data flow. However, one of their more powerful uses is in customizing various aspects of program control flow. In this tutorial, we’ll look at some more exotic uses of generators such as writing context managers, inlining callback functions, eliminating recursion, implementing actors, and more. Slides can be found at: and
Back to Top