Iterators, Iterables, and Itertools in Python || Python Tutorial || Learn Python Programming

  Рет қаралды 116,491

Socratica

Socratica

2 жыл бұрын

𝙎𝙩𝙖𝙮 𝙞𝙣 𝙩𝙝𝙚 𝙡𝙤𝙤𝙥 𝙄𝙉𝙁𝙄𝙉𝙄𝙏𝙀𝙇𝙔: snu.socratica.com/python For-loops in Python do a lot of work for you. By learning HOW iteration works, you will be able to add iteration to your own classes and create custom iterable objects. Python also gives you an "itertools" module which contains a lot of convenience functions to save you time and streamline your code.
We were able to bring you this video thanks to our generous Kickstarter backers! Find their names hidden (okay, not very hidden) in the video!
Socratica Friends, we have a quiet little email group for Python if you'd like to receive updates (can't count on YT for notifications). Sign up here: snu.socratica.com/python
⧓⧓⧓⧓⧓
Subscribe to Socratica + bell for notifications:
bit.ly/SocraticaSubscribe
Find our programming playlists here:
Python programming: bit.ly/PythonSocratica
SQL programming: bit.ly/SQL_Socratica
⧓⧓⧓⧓⧓
We recommend:
How to Be a Great Student
ebook: amzn.to/2Lh3XSP
Paperback: amzn.to/3t5jeH3
Kindle Unlimited (read free): amzn.to/3atr8TJ
Python Cookbook, 3rd edition
amzn.to/3goRmbG
The Mythical Man Month - Essays on Software Engineering & Project Management
amzn.to/2tYdNeP
Shop Amazon Used Textbooks - Save up to 90%
amzn.to/2pllk4B
⧓⧓⧓⧓⧓
Join this channel to get access to perks:
/ @socratica
Support Socratica on Patreon:
/ socratica
⧓⧓⧓⧓⧓
Python instructor: Ulka Simone Mohanty (@ulkam on Twitter)
Written & Produced by Michael Harrison
#Python #Iterators #Coding

Пікірлер: 231
@Socratica
@Socratica 2 жыл бұрын
Wear a Socratica Python shirt for good luck coding: shop.socratica.com/products/python-by-socratica
@elboon_80
@elboon_80 2 жыл бұрын
Even if one may know the concepts, it is still satisfying to watch Socratica's vids! Thanks!
@Socratica
@Socratica 2 жыл бұрын
Gosh, thank you so much, kind Socratica Friend! We're glad you're here with us! 💜🦉
@wesleydcm
@wesleydcm 2 жыл бұрын
really xD
@pvic6959
@pvic6959 2 жыл бұрын
Yes this is me! Not only do I have a computer science degree, I am also a software engineer now LOL. but I LOVE these. Im soooo glad to see a new video!
@kamalkishor1379
@kamalkishor1379 2 жыл бұрын
Agree.
@rweaver6
@rweaver6 2 жыл бұрын
As one who appreciates true geek humor, I greatly appreciate Ulka Simone's delivery of "a few closing remarks".
@6754bettkitty
@6754bettkitty 2 жыл бұрын
7:30 "remember the range function does not include the final number because that would make sense" lol
@arielspalter7425
@arielspalter7425 2 жыл бұрын
I love her subtle sense of humor. Classy.
@Alex-ns1pj
@Alex-ns1pj 2 жыл бұрын
That had me 💀
@murphygreen8484
@murphygreen8484 2 жыл бұрын
"because that would make sense", killed me! LoL, I remember first learning python and that tripping me up.
@ShreyasBharadwaj
@ShreyasBharadwaj 2 жыл бұрын
I swear. The dry humor puts Sahara to shame.
@wesleydcm
@wesleydcm 2 жыл бұрын
"Who does not love doing the same thing over and over and over ... and over again."
@normanmwanza8225
@normanmwanza8225 2 ай бұрын
bro it reminds me of the time doc strange created an infinity loop where he kept coming back even after being killed😂
@ryancopeland1582
@ryancopeland1582 2 жыл бұрын
"I knew that was going to happen, yet still I flinched" BOI 😂
@tylernardone3788
@tylernardone3788 2 жыл бұрын
Excited to see Socratica back! Especially the python stuff!
@amzabdrahim3350
@amzabdrahim3350 2 жыл бұрын
Ulka is awesome, these tutoriels are an unbelievable amusement.
@aynalemsitotaw7566
@aynalemsitotaw7566 2 жыл бұрын
Glad you are back! I really hope you will do more tutorials on python and even on machine learning or related applications of it.
@savant_logics
@savant_logics 2 жыл бұрын
... this is why I love Socratica. Their videos are the gold standard.
@Socratica
@Socratica 2 жыл бұрын
AAAhhh you are too kind. 💜🦉
@pvic6959
@pvic6959 2 жыл бұрын
I'm so happy to see a new video!! These are my FAVORITE python tutorials (though I already know all these concepts haha). when I was in college a couple years ago, I would tell EVERYONE about this channel. Its so unique, so relaxing, so humorous, so educational. These tutorials stand out among the sea of tutorials on youtube
@Socratica
@Socratica 2 жыл бұрын
You are amazing, THANK YOU for spreading the word! 💜🦉
@AmeerulIslam
@AmeerulIslam 2 жыл бұрын
words! 04:47 These 7 lines should help you understand the mechanics of iteration. 04:51 While these 2 lines should help you appreciate the for-loop.
@PoeheeHeLul
@PoeheeHeLul 2 жыл бұрын
"You need to know your ABC's". So dry and funny (Even more funny if you know beforehand what ABC's are). These video's are made with so much love and attention for details.
@mrmuranga
@mrmuranga 2 жыл бұрын
4.47 "signalling our looping days are over" I has missed this channel and humor....good to have you back
@pineapple3832
@pineapple3832 Жыл бұрын
When I first started watching Socratica's videos with Ulka I thought the "robot persona" was cheesy, but after several videos, I'm realizing she's actually quite funny without being overly so, and her delivery fits the material thematically. Also her tone and cadence lends itself to being clear and easy to understand, which is actually the most important thing. So I now consider these some of the best Python videos on youtube.
@4g4m3n0n
@4g4m3n0n 2 жыл бұрын
Wow, this was really well done! Loved the examples given, very cool stuff folks. Glad to see more Socratica videos coming!!!
@Skyfox94
@Skyfox94 2 жыл бұрын
Even as somebody who has written many a script in Python I can still learn from these videos. That's why I originally subbed to Socratica.
@cuthbertmilligen
@cuthbertmilligen 2 жыл бұрын
Glad to see you back. You make everything follow logically. Great stuff!
@KlausbergerYT
@KlausbergerYT 2 жыл бұрын
Holy smokes, the Poker-Hands calculation in < 20 lines still gives me chills.
@GOTHICforLIFE1
@GOTHICforLIFE1 2 жыл бұрын
These are so well made, and additionally cover stuff you don't really think about. Once you can handle a for loop you think you got things covered, forgetting that there are many flexible things you can do with iterations outside the simple for loop. Very cool!
@BrianEdwardAshmore
@BrianEdwardAshmore 2 жыл бұрын
The closing remarks in this video were eye-opening, thank you!
@kcmichaelm
@kcmichaelm 2 жыл бұрын
These videos are so well-done, so informative, and so inspirational. I love them so much.
@PahpriosGaming
@PahpriosGaming 2 жыл бұрын
I love this channel, because I don't just watch to learn, but also for fun which is a real nice change of pace.
@troy_neilson
@troy_neilson 2 жыл бұрын
Seriously one of the most enjoyable and enlightening Python videos I've seen. Fantastic work @Socratica
@Socratica
@Socratica 2 жыл бұрын
Thank you for your kind words! So very appreciated. 💜🦉
@GoGetFletch
@GoGetFletch 5 ай бұрын
I love it. Socratica is so dry and witty but still an effective communicator of what can be quite complex concepts.
@serta5727
@serta5727 2 жыл бұрын
One of my favorite Python courses
@omesner
@omesner 2 жыл бұрын
Your videos are all so high quality! Thank you! And, the humor you add doesn't hurt either!
@DrMV1
@DrMV1 2 жыл бұрын
I love the form of presentation and how you give the word „Python“ a nice melody along with its pronounciation…
@Shubh22
@Shubh22 2 жыл бұрын
Yey, my absolute favorite channel is back with Python tutorial!
@bisratgetachew8373
@bisratgetachew8373 2 жыл бұрын
You guys never dissapoint. Great video!
@engrkhan8726
@engrkhan8726 2 жыл бұрын
The teaching methodology is really AWOSOME !!!!!!!!!!
@SUNILKUMAR-of3hr
@SUNILKUMAR-of3hr 2 жыл бұрын
I was waiting for it. Really good job
@BillAugersdca
@BillAugersdca 2 жыл бұрын
So glad to see you back! Thanks for the great content - I love your videos!!
@Socratica
@Socratica 2 жыл бұрын
We're so happy to be back making more videos!! 💜🦉
@seeker4430
@seeker4430 2 жыл бұрын
Hey!!!!!!!! Thanks for being back.... more power to you!
@clnguye
@clnguye 8 ай бұрын
The video is so clever. Entertaining and educational at the same time. The concepts are explained so clearly. Great job!
@joelhowe
@joelhowe 2 жыл бұрын
All your videos are so helpful and so clever - thank you!
@davidraveh3075
@davidraveh3075 2 жыл бұрын
As I learn from and enjoy the Socratica teaching, I felt I should express my thanks by joining and paying that little to thank and keep it running. Thank you.
@Socratica
@Socratica 2 жыл бұрын
We're so glad you're with us, Socratica Friend!! 💜🦉
@Socratica
@Socratica 2 жыл бұрын
Socratica Friends, we have a quiet little email group for Python if you'd like to receive updates (can't count on YT for notifications). Sign up here: bit.ly/PythonGroup
@anujkondhalkar9776
@anujkondhalkar9776 2 жыл бұрын
Your whole course on python is absolutly best but between the course content it has time huge gap.
@ramanat3442
@ramanat3442 2 жыл бұрын
Happy to see you after a long time socratica.
@zacky7862
@zacky7862 2 жыл бұрын
KZfaq just recommended this to me. This is a unique channel.
@iyanuoluwasowande8447
@iyanuoluwasowande8447 2 жыл бұрын
first time here and you're already one of my top youtube creators. You make programming interesting
@jacobtrevor3448
@jacobtrevor3448 2 жыл бұрын
Honestly the best python tutorials on the internet
@itsmerhlgupta
@itsmerhlgupta 2 жыл бұрын
As always...best and top class. Thanks Socratica for such an awesome content. More power to you 👍🙌
@kapitankidlattv9613
@kapitankidlattv9613 2 жыл бұрын
This is golden! Kudos to the team!
@swannschilling474
@swannschilling474 2 жыл бұрын
Those are just so hypnotic...cannot stop watching!!
@israelbirhane2068
@israelbirhane2068 2 жыл бұрын
What a precise lecture is this!!
@pile333
@pile333 2 жыл бұрын
"Loopus interruptus" 😄 I didn't know you can have a "loopus" even down there! 😄
@lexolotlgod
@lexolotlgod Жыл бұрын
This is the first video of y'alls I've seen. Incredible, thank you so much! This complements the course I'm taking perfectly.
@Socratica
@Socratica Жыл бұрын
We're so glad you've found us! 💜🦉
@chimchim2_
@chimchim2_ 2 жыл бұрын
I never get tired of these
@OPlutarch
@OPlutarch 10 ай бұрын
Wow! These videos are extremely accurate for python beginners, you guys are amazing
@chatebillychilima6762
@chatebillychilima6762 2 жыл бұрын
I love the humor... Or lack thereof... very intriguing lesson.
@geetikasuri9318
@geetikasuri9318 2 жыл бұрын
Really happy you are back
@KayYesYouTuber
@KayYesYouTuber 11 ай бұрын
Simply beautiful. Thanks
@neens6377
@neens6377 2 жыл бұрын
Thank God now our next generation teacher is back, hope you cover maximum concepts this time a request it is.
@letsjoinhands
@letsjoinhands 2 жыл бұрын
absolutely brilliant!! not to mention that the lady's sense of humour is awesome : D
@pvic6959
@pvic6959 2 жыл бұрын
3:36 this channel has no reason to be this funny!! I love it
@Ibrahim_talib
@Ibrahim_talib 2 жыл бұрын
Nice to see you again our teacher.
@victoriarodriguezdeleon4497
@victoriarodriguezdeleon4497 2 жыл бұрын
This is really high quality stuff. Thanks for sharing
@akira_asahi
@akira_asahi Жыл бұрын
Thank you for the video. I am grateful for your time and contribution. Kind regards, Akira.
@vikranttyagiRN
@vikranttyagiRN 2 жыл бұрын
I absolutely love this channel ❤️
@thebuggser2752
@thebuggser2752 2 жыл бұрын
What a great video!! Worth watching even if you know the concepts.
@RH-nk7eo
@RH-nk7eo 2 жыл бұрын
This was masterful thank you!
@mercygains
@mercygains 2 жыл бұрын
Thank you for bringing a sense of humor and fun to STEAM education for all genders and skill/age levels :)
@ultravidz
@ultravidz 2 жыл бұрын
She’s like a AI mother from the future who raises all of humanity
@DarkAion
@DarkAion Жыл бұрын
Socratica. Raising humanity, not errors
@pablowashington1319
@pablowashington1319 2 жыл бұрын
Thank you for this new video!...
@iamtapasdas
@iamtapasdas 2 жыл бұрын
I appreciate the content.. Also amazed how carefully the presented
@willk7184
@willk7184 2 жыл бұрын
Fellow loop lover here. Thanks for the nice video.
@nachoBikeLife
@nachoBikeLife 7 ай бұрын
Very helpful, thanks! 🙏🏻
@tomerlevi2640
@tomerlevi2640 Жыл бұрын
one of the best explanations out there great attitude great production . thanks
@Jess-hi4zd
@Jess-hi4zd Жыл бұрын
Thank you for this, it helped me understand this better!
@mohammedsaifuddin7040
@mohammedsaifuddin7040 2 жыл бұрын
Nicely presented. Thank you. 🙏.
@dineshmister1280
@dineshmister1280 2 жыл бұрын
Great content 👍 and understood clearly. looking forward for next video in python.
@nayan.j
@nayan.j 2 жыл бұрын
Aye aye Socratica is back ❤️
@shekharsrivastava6823
@shekharsrivastava6823 2 жыл бұрын
please continue this series its so satisfying bruh
@edmundobrown5604
@edmundobrown5604 Жыл бұрын
congratulations ! Amazing content in all the videos !
@RichardGreco
@RichardGreco 2 жыл бұрын
Very good video! Please keep them coming.
@dima1478
@dima1478 2 жыл бұрын
Concise and precise, what more can you ask
@puszeq11
@puszeq11 2 жыл бұрын
She is back!
@deadman1462
@deadman1462 2 жыл бұрын
Awesome tutorials...maybe for C++ in similar lines would be super helpful :) Thanks
@lilarreola27
@lilarreola27 2 жыл бұрын
Welcome back Legend! 🙏
@herculesrockefeller8969
@herculesrockefeller8969 2 жыл бұрын
I keep watching this video over and over...
@rweaver6
@rweaver6 Жыл бұрын
StopIteration exception: "I knew that was going to happen. And yet, I flinched." Pure, nerdy genius.
@kychemclass5850
@kychemclass5850 2 жыл бұрын
Love these videos and the hunour. Excellent. TQ TQ TQ! :D
@BitCloud047
@BitCloud047 2 жыл бұрын
Your videos are so freaking good....I love them...
@FarizDarari
@FarizDarari 2 жыл бұрын
I am a lecturer of a Python course at my univ in Indonesia, and I recommend (+ share links to) this channel to my students :) Thank you for quality learning videos!
@jackieli1724
@jackieli1724 8 ай бұрын
it's an enjoyment to watch your programming video🥰🥰🥰
@zachary_burrows
@zachary_burrows 2 ай бұрын
Immediate sub. Great vid.
@chriss3154
@chriss3154 2 жыл бұрын
"yet I still flinched"😮 Now thats a true Socratica plot twist😆
@matthewgarcia2431
@matthewgarcia2431 2 жыл бұрын
thanks for the new video!
@carlosmunoz5178
@carlosmunoz5178 2 жыл бұрын
thank you your videos have helped me a lot
@JorgeEscobarMX
@JorgeEscobarMX 2 жыл бұрын
Oh my! I didn't knew this was an ongoing series. I'll catch up now.
@konradd8545
@konradd8545 2 жыл бұрын
The evil mastermind of CS education is back with her hilarious content! All hail the queen! 😂
@mhelmers
@mhelmers 2 жыл бұрын
At last! Love it!
@muralidhar40
@muralidhar40 5 ай бұрын
ACTUALLY helpful. ty.
@palficsaba1710
@palficsaba1710 2 жыл бұрын
Thank You! You are amazing as usual!
@Socratica
@Socratica 2 жыл бұрын
Thank you for watching today!! 💜🦉
@scruffydogdave
@scruffydogdave 2 жыл бұрын
I think I'm going to have to loop back on this one.
@kuyajj68
@kuyajj68 2 жыл бұрын
The Queen is back!
@jayantjolly
@jayantjolly 2 жыл бұрын
Yes Socratica!! We do appreciate the "for loop"👍👍
@ohis2258
@ohis2258 Жыл бұрын
thank you, now i understand the intertools module. LOL ‘A FEW CLOSING REMARKS‘
1❤️#thankyou #shorts
00:21
あみか部
Рет қаралды 10 МЛН
ХОТЯ БЫ КИНОДА 2 - официальный фильм
1:35:34
ХОТЯ БЫ В КИНО
Рет қаралды 2,8 МЛН
A Deep Dive Into Iterators and Itertools in Python
21:01
ArjanCodes
Рет қаралды 59 М.
Async for loops in Python
16:36
mCoding
Рет қаралды 56 М.
Python's Magical Itertools Module
14:33
Tech With Tim
Рет қаралды 78 М.
XML & ElementTree  ||  Python Tutorial  ||  Learn Python Programming
10:30
Python dataclasses will save you HOURS, also featuring attrs
8:50
10 Python Comprehensions You SHOULD Be Using
21:35
Tech With Tim
Рет қаралды 108 М.
The FULL Guide To Itertools For Python Developers
29:11
Indently
Рет қаралды 13 М.
1❤️#thankyou #shorts
00:21
あみか部
Рет қаралды 10 МЛН