Iterators and Generators

Joey Bernard · Apress eBooks · 2016

Often you’ll need to process some sequence of data from one source or another. The way to do this in Python is to use iterators. Many of the data types available in standard Python include an iterable interface that you can use. For those that don't, you can create a generator that then provides an iterable interface.

Read the paper · More papers on PaperTik