Presented at PyCon'14, April 10, 2014, Montreal.
This tutorial discusses advanced uses of using generators to alter program control flow, explode brains, and exponentially increase your job security. Topics include context managers, inlined futures, concurrency, asyncio, actors, compilers, and more.
The following file contains some supporting data files that are used by the various code samples. Download this to your machine to work the examples that follow.
This download includes the presentation slides and all of the code sample below.
This tutorial is part 3 of a trilogy of tutorials involving generators and coroutines. Although it stands on its own, you may want to review the first two parts to get the bigger picture:
Here are various code samples that are used in the course. You can cut and paste these to your own machine to try them out. The order in which these are listed follow the course outline. You'll need Python 3.4.
Copyright (C) 2005-2023, David Beazley