[Tutor] Re: List's name in a string

Andrei project5 at redrival.net
Mon Sep 29 19:38:18 EDT 2003


Forgot to paste important part of the session:

>>> loc = locals() # before aceessing loc in the loop

Looking at my code, I just noticed I'm looping over a dictionary. I didn't even 
know that was possible.

-- 
Yours,

Andrei

=====
Mail address in header catches spam. Real contact info (decode with rot13):
cebwrpg5 at bcrenznvy.pbz. Fcnz-serr! Cyrnfr qb abg hfr va choyvp cbfgf. V ernq gur 
yvfg, fb gurer'f ab arrq gb PP.





More information about the Tutor mailing list