[Python-3000] iterating over a dcitionary

Sean DiZazzo half.italian at gmail.com
Sat Sep 1 02:14:09 CEST 2007


How should we replace in our code:

for k,v in dict.iteritems():

with this ??

for k,v in zip(dict, dict.values()):

Sorry if this is the wrong forum for questions like this.

~Sean


More information about the Python-3000 mailing list