会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
年轻人——001
学习从提问一个好问题开始
博客园
首页
新随笔
联系
订阅
管理
2020年11月4日
python中并发----线程的启动和停止
摘要: 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)
编辑
公告