Introspect the class name of object?

Davy zhushenli at gmail.com
Wed Nov 21 21:55:21 EST 2007


Hi all,

How to get the class name of an object from an introspect way?
For example,
Class cls:pass

obj = cls()

I want to get function(obj) = 'cls'

Best regards,
Davy



More information about the Python-list mailing list