相关疑难解决方法(0)

如何在Python中打印异常?

try:
    something here
except:
    print('the whatever error occurred.')
Run Code Online (Sandbox Code Playgroud)

如何在except:块中打印错误/异常?

python error-handling exception

609
推荐指数
9
解决办法
70万
查看次数

标签 统计

error-handling ×1

exception ×1

python ×1