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

alex23 wuwei23 at
Wed Oct 29 02:22:20 CET 2008

On Oct 29, 12:41 am, Shannon Mayne <shang... at> 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