How to GetClassName in Python

Hemanth P.S. hemanth_sethuram at yahoo.com
Fri Nov 28 08:21:15 EST 2003


"bala" <blk at srasys.co.in> wrote in message news:<mailman.1161.1069994459.702.python-list at python.org>...
> Hi,
>     I want to know how to getclassname of application from python..In 
> python There is no method like GetClassName...
> Is there any other Method ...I kindly give some example in python..
>         If anyone answer to the above problem....I will be very 
> thankfull to you...
> 
> Note:- Using Python Application, I want to Get the ClassName of any 
> Application.
> --

You can access it by the attribute __class__ of the object. 
--Hemanth




More information about the Python-list mailing list