How can I get the name of an object???

Grant Edwards nobody at nowhere.nohow
Sat Apr 29 18:45:34 EDT 2000


In article <etd8zy03m44.fsf at w20-575-108.mit.edu>, Alex wrote:
>
>An object could be referred to by any number of names:
>
>dd = zz ()
>ee = dd
>
>Which name for the object do you wish to know?  ee or dd?

There are also cases where an object has no name at all:

x = []
x.append(zz())

-- 
Grant Edwards                   grante             Yow!  Maybe we could paint
                                  at               GOLDIE HAWN a rich PRUSSIAN
                               visi.com            BLUE --



More information about the Python-list mailing list