More elegant to get a name: o.__class__.__name__

alf ask at me
Thu Nov 30 09:02:42 EST 2006


Hi,
is there a more elegant way to get o.__class__.__name__. For instance I 
would imagine name(o).

-- 
alf



More information about the Python-list mailing list