how do you get the name of a dictionary?

John Salerno johnjsal at NOSPAMgmail.com
Fri Aug 18 16:27:53 EDT 2006


Fredrik Lundh wrote:
> Andy Terrel wrote:
> 
>> for i in dir():
>>      if eval(i) == Banana:
>>              print i
> 
> (sound of head hitting desk)
> 
> </F>
> 
lol



More information about the Python-list mailing list