Generators, Iterables, Iterators in Python: When and Where

by Aquiles Carattino April 10, 2020 iterables iterators generators


This is a companion discussion topic for the original entry at http://pythonforthelab.com/blog/generators-iterables-iterators-python-when-and-where/

Have you used generators, or iterators in your projects? I used them without paying attention to the underlying mechanisms that made them work. Hope you can expand your toolbox with this article!