W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
python_ref_getattr_2.py:
class Person: name = "Bill" age = 63 country = "USA" x = getattr(Person, 'page', 'my message') print(x)