how do you get the name of a dictionary?

Fredrik Lundh fredrik at pythonware.com
Fri Aug 18 15:47:48 EDT 2006


Andy Terrel wrote:

> for i in dir():
>      if eval(i) == Banana:
>              print i

(sound of head hitting desk)

</F>




More information about the Python-list mailing list