Geek Culture
Published in

Geek Culture

Python itertools Module Part 2

Photo by Paweł Bukowski on Unsplash

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 —…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Martin McBride

Martin McBride

247 Followers

Freelance software consultant, developer, technical author. Java, Python. martinmcbride.org