Python Tutorials


Python Tutorial: Itertools Module - Iterator Functions for Efficient Looping


Hide/Show description

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: https://github.com/CoreyMSchafer/code_snippets/tree/master/Python/Itertools Iterators Tutorial: https://youtu.be/jTYiNjvnHZY Sorting Tutorial: https://youtu.be/D3JvDWO-BY4 ✅ Support My Channel Through Patreon: https://www.patreon.com/coreyms ✅ Become a Channel Member: https://www.youtube.com/channel/UCCezIgC97PvUuR4_gbFUs5g/join ✅ One-Time Contribution Through PayPal: https://goo.gl/649HFY ✅ Cryptocurrency Donations: Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3 Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33 Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot ✅ Corey's Public Amazon Wishlist http://a.co/inIyro1 ✅ Equipment I Use and Books I Recommend: https://www.amazon.com/shop/coreyschafer ▶️ You Can Find Me On: My Website - http://coreyms.com/ My Second Channel - https://www.youtube.com/c/coreymschafer Facebook - https://www.facebook.com/CoreyMSchafer Twitter - https://twitter.com/CoreyMSchafer Instagram - https://www.instagram.com/coreymschafer/ #Python #Itertools