python捕獲所有異常怎麼寫 python中捕獲執行緒丟擲的異常
來源:時尚少女範 1.2W
except (IDontLIkeYouException, YouAreBeingMeanException) as e:pass用逗號分割的方法只能在Python2.6和2.7裡好使,在Python3中則無效;
except (IDontLIkeYouException, YouAreBeingMeanException) as e:pass用逗號分割的方法只能在Python2.6和2.7裡好使,在Python3中則無效;