python 中异常回朔 将待确认的代码块放在try 中; import traceback try: value = 8 / 0 print(vlaue) except: info = traceback.format_exc() print(info) print(type(info))