try:
......
except Exception, why:
print sys.exc_info()[0],sys.exc_info()[1]
python捕获异常
最新推荐文章于 2023-06-01 00:05:07 发布
try:
......
except Exception, why:
print sys.exc_info()[0],sys.exc_info()[1]