iteritems() and enumerate()
Steve Holden
steve at holdenweb.com
Thu Jan 20 09:07:39 EST 2005
Xah Lee wrote:
> Python has iteritems() and enumerate() to be used in for loops.
>
> can anyone tell me what these are by themselves, if anything?
>
> are they just for idiom?
No, anyone can use them, not just idioms like you.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
More information about the Python-list
mailing list