How to I get the classname of object ?

Pieter Claerhout Pieter.Claerhout at Creo.com
Tue Jan 6 05:38:16 EST 2004


Try MyClassInstance.__class__.__name__

cheers,


pieter

Creo
pieter claerhout | product support prinergy | tel: +32 2 352 2511 |
pieter.claerhout at creo.com | www.creo.com

IMAGINE CREATE BELIEVE(tm)


-----Original Message-----
From: fowlertrainer at anonym.hu [mailto:fowlertrainer at anonym.hu] 
Sent: 06 January 2004 11:31
To: python-list at python.org
Subject: How to I get the classname of object ?


Hello python-list,

  Please help me !!!

  like Delphi's obj.ClassName

  Thanx
  
-- 
Best regards,
 fowlertrainer                          mailto:fowlertrainer at anonym.hu


-- 
http://mail.python.org/mailman/listinfo/python-list




More information about the Python-list mailing list