Introspect the class name of object?

Davy zhushenli at gmail.com
Thu Nov 22 03:55:21 CET 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