摘要: python 设置函数超时退出 由于项目中存在耗时较长操作,并且可以容忍其失败,并设置超时操作。 目前叫为方便好用的是使用 func_timeout from func_timeout import func_set_timeout import func_timeout import time @ 阅读全文
posted @ 2022-05-13 13:56 lzk_seven 阅读(943) 评论(0) 推荐(0) 编辑