__name__
JB
jimbag at kw.igs.net
Fri Jan 14 11:30:59 EST 2000
More information about the Python-list mailing list
Fri Jan 14 11:30:59 EST 2000
- Previous message (by thread): __name__
- Next message (by thread): __name__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Could anyone tell me how to get a classes name:
class MyClass:
def className( self ):
return self.__name__
This doesn't fly. The docs say a class has the __name__ attribute but...
thanks
jb
--
There are bugs and then there are bugs. And then there are bugs.
-- Karl Lehenbauer
- Previous message (by thread): __name__
- Next message (by thread): __name__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list