Python itertools Module Part 2
Some useful general purpose iterators
The itertools
module provides several general iterators. In many cases, these iterators are variants of built-in functions such as map
and filter
. There are also some other generally useful iterators.
The iterators in this section are:
- Map-like iterators —
starmap
. - Filter-like iterators —…