Python print all attributes in the class

print(obj.__dict__.items())

Guess you like

Origin blog.csdn.net/u011939633/article/details/109096691