比如出现异常了,我可以写成下面这个形式,但是有什么方法可以使attr都显示给我看看呢?
print(result.__dict__)或者试试dir(result)
print(result.dict)或者试试dir(result)