运维网's Archiver
论坛
›
Python
› python打印详细的异常信息
whitek
发表于 2017-5-7 10:18:01
python打印详细的异常信息
import traceback
print traceback.format_exc()
页:
[1]
查看完整版本:
python打印详细的异常信息