This is a preview of the video course, "Efficient Iterations With Python Iterators and Iterables." Python’s iterators and iterables are two different but related tools that come in handy when you need to iterate over a data stream or container. Iterators power and control the iteration process, while iterables typically hold data that you want to iterate over one value at a time.
This is a portion of the complete course, which you can find here:
The rest of the course covers:
- Use generator functions and the yield statement to create generator iterators
- Build your own iterables using different techniques, such as the iterable protocol
- Use the asyncio module and the await and async keywords to create asynchronous iterators
|
AWS re:Invent 2026 Technical Innovations...
Tune in LIVE from Vegas as Cloud Report ...
You were taught to square a number by mu...
Learn how AI agents work and build a rea...
AWS re:Invent 2026 Partner Keynote with ...
AWS re:Invent 2026 Data & AI Keynote wit...
Tune in LIVE from Vegas as Cloud Report ...
Welcome to Google’s data center in Saint...
Learn how to use TypeSafe's judegement m...
AWS re:Invent 2026 CEO Keynote with Matt...
✏️ Study this course interactively on Sc...
Be in the moment and still get the shot—...
Your rewards shouldn't limit where you c...