DEV Community

Play Button Pause Button
Cheuk Ting Ho 🐍
Cheuk Ting Ho 🐍

Posted on

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

Top comments (0)