Python Tutorial: Itertools Module - Iterator Functions for Efficient Looping

preview_player
Показать описание
In this Python Programming Tutorial, we will be learning about the itertools module. The itertools module is a collection of functions that allows us to work with iterators in an efficient way. Depending on your problem, this can save you a lot of memory and also a lot of work. Let's get started...

Functions Covered in This Video:
count - 1:19
zip_longest - 6:48
cycle - 9:17
repeat - 11:09
starmap - 14:06
combinations - 15:34
permutations - 15:34
product - 19:45
chain - 21:40
islice - 23:37
compress - 28:50
filterfalse - 31:49
dropwhile - 32:24
takewhile - 32:24
accumulate - 34:54
groupby - 37:04
tee - 43:28

The code from this video can be found at:

Iterators Tutorial:

Sorting Tutorial:

✅ Support My Channel Through Patreon:

✅ Become a Channel Member:

✅ One-Time Contribution Through PayPal:

✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey's Public Amazon Wishlist

✅ Equipment I Use and Books I Recommend:

▶️ You Can Find Me On:

#Python #Itertools
Комментарии
Автор

U r seriously a world class teacher
Thanks man

wolfisraging
Автор

Best python on youtube, and even away better than paid courses, thanks man.

medi
Автор

best itertools tutorial, should be in the official page imo

Lu_Ca
Автор

Incredible video ! I love is when he says : 'If you don't know smth' and then explains it, as I am used to getting a link to another video or no explanation at all. I learned so many things !

programmer
Автор

The first thing to do after getting a job: Become a Patreon for this channel

karanagarwal
Автор

tee is like a T is a pipe (like with fluid in it). It's an analogy with unix piping.
On *nix you can:
Command1 | tee file.txt | command2
And it will pipe the output of command1 to tee which will write it to the file 'file.txt' and in turn pipe it to command2.

festivalofcolorsholinyc
Автор

One thing that I like about this channel is the right pace in which video moves...

VikasGuptacherie
Автор

The best youtube teacher you can ever think of... Thanks for the Tutorial sir...

ibekwevictor
Автор

Nice and clear demonstration, as always. Thanks!
44:41 yep, sounds like it comes from the Linux tee program. It comes from the fact that it splits the output into two, like a T shaped pipe.

greob
Автор

Hey, Corey, I'm a python beginner and I've started watching your python tutorials a few days ago. And I just wanted to tell you that you're a great teacher. I wish that I had found out about you 3 months ago when I started. I'm a Treehouse student, I like it there but they don't really explain as well as you do. So thank you, Corey, I appreciate your great work.

JassimBjj
Автор

Hands down the best education video on python itertools

sumaryze
Автор

man, I dont' even know how to thank you enough....this is such a good tutorial.

josephomondi
Автор

I'm learning and using courses and tutorials almost all my life. And I can say with certainty - Corey is brilliant at teaching!

Pheshen
Автор

This is probably the best itertools instructional on video... What a useful module! Very good job!

marcd
Автор

I've seen python videos of many tutors on Youtube but Corey and Navin (from the Telusko channel) are my favorites. Both are amazing teachers ❤❤

prakharprakashverma
Автор

Thanks for the helpful video. English is a foreign language for me, but you speak and explain very clearly.

vitalikq
Автор

One of the most concise lessons about itertools in Python. Thanks Corey!

lowyieldbondfunds
Автор

This is the best description/explanation of itertools that I have seen.

Thank you so much for this video.

ritzg
Автор

This Guy is the best Python Teacher ever. I learnt Python from his Videos. I hope you r fine since I don't see any latest videos.

swarupsarangi
Автор

I don't know, why you sharing all this knowledge, but I am extremely, extremely thankful!

MinkoTerziyski