python代码抛出异常

from traceback import format_exc
   
 except Exception:
        print(format_exc())

  

posted @ 2022-02-16 13:23  亿逍遥  阅读(27)  评论(0编辑  收藏  举报