cymbalic reference?

Chris Angelico rosuav at
Wed Jan 16 06:03:47 CET 2013

On Wed, Jan 16, 2013 at 3:56 PM, rh <richard_hubbe11 at> wrote:
> While I'm at it what magic could I use to print "the-class-I-am-in good"
> instead of hard-coding "Abc good"? I tried __class_ and self.__class__

Almost there! Try self.__class__.__name__ to get the name as a string.


More information about the Python-list mailing list