whitek 发表于 2017-5-7 10:18:01

python打印详细的异常信息

import traceback
print traceback.format_exc()
页: [1]
查看完整版本: python打印详细的异常信息