搜索
❯
2025年5月03日1分钟阅读
sys.exit(0) # 退出当前线程 os._exit(0) # 非主线程终止主程序 exit(0) os.kill(os.getpid(), signal.SIGINT)