<filename>25/02/getattr.py
# getattr(object, name[, default])
class C:
    def A(self): pass
print(getattr(C, 'A'))

<filename>25/02/getattr.py
# getattr(object, name[, default])
class C:
    def A(self): pass
print(getattr(C, 'A'))

# getattr(object, name[, default])