name of object inside it's methods?

Jason Stokes jstok at bluedog.apana.org.au
Sun Feb 27 16:50:34 EST 2000


>In other words I want the method to print the name of the object that it
>belongs to


Objects do not have names.  Objects can be referred to by names, but this is
not the same thing; any object can be referred to by multiple names.





More information about the Python-list mailing list