how do you get the name of a dictionary?

jojoba jojoba12 at hotmail.com
Tue Aug 22 14:27:39 EDT 2006




> At the risk of stating the obvious, why don't you simply add a parameter
> for the title in the invocation of the tree editor? I.e. instead of
> invoke_tree_editor(somedict)
> do
> invoke_tree_editor(somedict, "somedict")
> HTH,
> Carsten.


Thanks Carsten.
This would indeed allow me to assign a title for my dicitonaries, but i
am looking for something more general......
specfically:
given any dictionary, get a name for it.

But yeah, your way would totally work!
Thanks,
jojoba




More information about the Python-list mailing list