May 2018
Intermediate to advanced
380 pages
9h 37m
English
In this chapter, we will take a look at generators, coroutines, and parallel processing. Specifically, we will cover the following topics:
Although the various topics that will be covered in this chapter may seem to have little to do with each other, they do have an effect on one another. First, iteration is the process of walking through a sequence; Python provides several ways to iterate over objects. Generators are functions that generate values in a ...