How to get an object's name as a string?

ShanMayne shangach at gmail.com
Wed Oct 29 10:34:57 EDT 2008


Indeed they do. My delighted thanks. You have most precisely addressed
the problem I intended to convey.

I should have given the case of module attributes a moments further
thought, an obvious answer. The locals() was unknown to me (rookie
gaps).

Thank you for the elaborated illustration.

good stuff.



More information about the Python-list mailing list