python 的try except 怎么capture 所有的error?# JobHunting - 待字闺中
a*e
1 楼
python 的try except 怎么capture 所有的error? 无论什么error, none 都capture
在里边?怎么弄?
例子:
try:
xxx
except None or Exception or IOError or ValueError, e:
xxxxx
多谢。
在里边?怎么弄?
例子:
try:
xxx
except None or Exception or IOError or ValueError, e:
xxxxx
多谢。