摘要: 方法:重写Thread类,在类中添加一个flag判断子线程是否出现异常 import threading import traceback class ExcThread(threading.Thread): def __init__(self, target, args, kwargs): sup 阅读全文
posted @ 2021-09-28 10:44 一笔一划82 阅读(423) 评论(0) 推荐(0)