try:dosometingexcept:os._exit(0)比如執(zhí)行dosometing時有錯誤,我想再試兩次,如果兩次執(zhí)行還是有錯誤,那就os._exit(0)退出
python 如何try 多次
梵蒂岡之花
2019-04-23 15:35:52