Iterators and generators for the masses
Hans Nowak
wurmy at earthlink.net
Mon Feb 25 12:37:34 EST 2002
kevin parks wrote:
> A note in my Python 2.2 folder says that:
>
> Iterators (PEP 234) and generators (PEP 255) were added.
[snip]
> what do they do? what can they do, what tasks do they make easier,
> what is the simplest possible example, what is a more complex
> example...etc. & co.
"What's new in Python 2.2" describes them, maybe this will help
you:
http://www.amk.ca/python/2.2/index.html#SECTION000400000000000000000
HTH,
--
Hans (base64.decodestring('d3VybXlAZWFydGhsaW5rLm5ldA=='))
# decode for email address ;-)
The Pythonic Quarter:: http://www.awaretek.com/nowak/
More information about the Python-list
mailing list