how do you get the name of a dictionary?

Andy Terrel andy.terrel at gmail.com
Fri Aug 18 18:30:52 EDT 2006


Georg Brandl wrote:
> Andy Terrel wrote:
> > Why bang your head?
>
> Because there's no chance that the original request is sane.
>
> If you want your objects to know their name, give them a name as an attribute.
> 

This is true but sometimes it is just fun to hack around.




More information about the Python-list mailing list