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

alex23 wuwei23 at gmail.com
Tue Oct 28 21:22:20 EDT 2008


On Oct 29, 12:41 am, Shannon Mayne <shang... at gmail.com> wrote:
> I would like to create objects with algorithmically determined names
> based on other object names and use object names for general algorithm
> input.

The simplest and best option here is to store the objects in a
dictionary with their keys being the generated names.




More information about the Python-list mailing list