会员
周边
新闻
博问
融资
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
是鱼的记忆
博客园
首页
新随笔
新文章
联系
订阅
管理
2018年7月25日
python 队列结合线程的使用
摘要: from queue import Queue from threading import Thread import time q = Queue() def add_to_queue(): for i in range(10): print('添加') q.put(i) time.sleep(0.01) def get_from_q...
阅读全文
posted @ 2018-07-25 16:16 是鱼的记忆
阅读(157)
评论(0)
推荐(0)
编辑
python 线程Queue 用法代码展示
摘要: 就是这么简单
阅读全文
posted @ 2018-07-25 16:00 是鱼的记忆
阅读(140)
评论(0)
推荐(0)
编辑