python import threading import time def thread_function(): time.sleep(2) thread = threading.Thread(target=thread_function) thread.start() if thread.is_alive(): thread.join() if thread.is_alive(): else:


上一篇:
下一篇:
切换中文