Use list name as string

Rhodri James rhodri at
Fri Feb 6 02:03:56 CET 2009

On Thu, 05 Feb 2009 03:32:59 -0000, Vincent Davis  
<vincent at> wrote:

> "The problem is you seem to be thinking in terms of objects having names.
> They don't.  Names have objects."I agree this is my problem. This is not
> correct terminology then?
> The name of the object is anobject

No.  The name of the object is a name.  It doesn't really exist as an
object at all.

As others have said, if you really want this information you'll need to
write your own class with a "name" attribute, and assign a suitable string
to it.

Rhodri James *-* Wildebeeste Herder to the Masses

More information about the Python-list mailing list