python 获取完整堆栈错误信息

By 水木神風 at 2017-08-18 • 0人收藏 • 1764人看过

import traceback

exstr = traceback.format_exc()

登录后方可回帖