iteritems() and enumerate()

Erik Max Francis max at alcyone.com
Thu Jan 20 02:40:41 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?
> thanks.

You would be funnier if you weren't so incompetent.

-- 
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
   Democritus may have come from Abdera, but he was no dummy.
   -- Carl Sagan



More information about the Python-list mailing list