itertools in Python 3: A brief guide to giving your iteration maximum leverage

Published: 09 September 2019
on channel: Live Python
6,664
159

Iteration forms a large part of most code bases. It's important that you know how to use the itertools built-in Python module in order to implement iteration as easily and as memory-efficiently as possible. In this tutorial, I'll be taking you on a brief tour of the most commonly-used functions within itertools with information on zip() and enumerate() as well.

Introduction 0:00
chain() 0:19
chain.from_iterable() 1:26
zip() 1:43
zip_longest() 2:26
enumerate() 3:15
permutations() 4:22
combinations() 4:53
islice() 5:20
tee() 6:00
Using deque and enumerate in a real-world example 6:46


Watch video itertools in Python 3: A brief guide to giving your iteration maximum leverage online without registration, duration hours minute second in high quality. This video was added by user Live Python 09 September 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 6,664 once and liked it 159 people.