摘要: import time # 一,要在线程中执行的耗时函数 def countdown(n): while n>0: print("t-minus",n) n -=1 time.sleep(5) # create and launch a thread from threading import Th 阅读全文
posted @ 2020-11-04 15:20 年轻人——001 阅读(1115) 评论(0) 推荐(0) 编辑