Answers for "python get current class name"

0

python get current class name

class Clazz():
    def getName(self):
        return self.__class__.__name__
      
      
>>Clazz().c()
'Clazz'
Posted by: Guest on September-13-2021

Code answers related to "python get current class name"

Python Answers by Framework

Browse Popular Code Answers by Language