How you can make your own iterator objects in Python?
An iterable is an object that can be passed to the built-in
iter function to get an iterator from it:
This is a premium screencast available only to active Python Morsels subscribers.
Feel free to watch some of the free screencasts in the Generator Functions series.
Need to fill-in gaps in your Python skills? I send weekly emails designed to do just that.