PyCon CZ

PyCon CZ 23
15–17 September
Prague

Itertools – iterators for efficient looping a talk by Pratibha Jagnere

Friday 15 September 16:40 (30 minutes)
__main__

The itertools module is a standard library module in Python that provides a number of functions and classes for working with iterators. It can be helpful in day-to-day work by providing a number of common tasks that can be performed with iterators, such as:

  • Creating iterators from lists, strings, and other iterables
  • Combining iterators into new iterators
  • Filtering iterators
  • Sorting iterators
  • Mapping functions over iterators
  • Reducing iterators to a single value

The itertools module can also be used to create custom iterators, which can be useful for performing tasks that are not easily performed with standard iterators.

What do you need to know to enjoy this talk

Python level

Medium knowledge: You use frameworks and third-party libraries.

About the topic

You used or did it just a few times.

Pratibha Jagnere

I’m an enthusiast Pythonista, with passion for coding and books.

Through my PyCon talks, I love to explore and share new things I learned in Python.