Talk

A tour of the module itertools

Saturday, May 31

12:25 - 12:55
RoomPassatelli
LanguageEnglish
Audience levelBeginner
Elevator pitch

Do you know the 20 tools available in the module itertools?

Join me as I show you what’s inside this insanely useful Pandora box!

Abstract

This talk walks you through the 20 tools available in itertools, a module you should be proficient in if you aspire to write Python code that makes efficient use iterables.

The talk proposes splitting the module itertools in 5 categories of iterables: combinatorial, reshaping, infinite, filtering, and complementary.

For each category, we will explore the tools available, look at examples of usage, and understand when each iterable can be useful.

Oh, and there’s also tee. Let us not forget tee!

TagsBest Practice, Algorithms and Data Structures, Language and features
Participant

Rodrigo Girão Serrão

Rodrigo Girão Serrão is the author of multiple independently published books on Python, programming, and mathematics, and frequently blogs about those same topics. Rodrigo has also presented talks and tutorials at some of the largest Python conferences in the world, including PyCon US, EuroPython, and multiple European PyCons.

By creating technical content that is easily digestible by those looking to improve their Python knowledge, Rodrigo is working to help everyone appreciate the elegance of the Python language and to make an effective use of the tools it provides.

When he is not working or writing, Rodrigo can be found playing board games, walking his dog, or exercising at the gym.