【Python】Python 获取和查看异常信息

except Exception as e:
        print e

 

 eg:

 

 

posted @ 2023-01-03 20:18  正道之光  阅读(29)  评论(0)    收藏  举报