摘要: 可以使用os._exit(1) import threading import time import os def worker(name): try: while True: print(f"Thread {name} is working...") time.sleep(1) if name 阅读全文
posted @ 2024-11-24 04:31 eliwang 阅读(9) 评论(0) 推荐(0) 编辑