name of object inside it's methods?
Michal Wallace (sabren)
sabren at manifestation.com
Sun Feb 27 13:07:58 EST 2000
On Sun, 27 Feb 2000 alv50855 at batman.tamucc.edu wrote:
> def classname(self):
> <blank>
>
> -------------------------------
>
> >>>from hello import *
> >>>clown = Hello(1)
> >>>clown.classname()
> clown
hmmm.... looking at that again, "clown" is an instance name, not the
name of the class.. which do you actually want?
Cheers,
- Michal
-------------------------------------------------------------------------
http://www.manifestation.com/ http://www.linkwatcher.com/metalog/
-------------------------------------------------------------------------
More information about the Python-list
mailing list