Python Zero to Hero - Ep.15 - Python generators

Moving from iterators late week, we have introduced generators (or generator functions). Which lets you create iterators just like writing a function, with yield. It also got a “send” method which lets you pass information from one iterator to another, setting the stage for async in Python. If you have any questions or any suggestions about which Python topics to cover, please leave your comment at my Twitch channel

You can get the slide deck here and the example code and homework form GitHub here. Ask questions at my Twitch channel

See more of my talks on YouTube.




After having a career as a Data Scientist and Developer Advocate, Cheuk dedicated her work to the open-source community and working as a community manager at OpenSSF. She has co-founded Humble Data, a beginner Python workshop that has been happening around the world. She has served the EuroPython Society board for two years and is now a fellow and director of the Python Software Foundation.