Python Dapatkan Nama Kelas Saat Ini
class Clazz():
def getName(self):
return self.__class__.__name__
>>Clazz().c()
'Clazz'
Fragile Gecko
class Clazz():
def getName(self):
return self.__class__.__name__
>>Clazz().c()
'Clazz'