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.
Tags: python, tutorial, video, generators