会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
linma
每天进步一点点,做更好的自己!
博客园
首页
新随笔
联系
订阅
管理
2020年5月14日
多线程原理
摘要: 线程处理IO密集型任务 import threading import time def foo(something): print(something) time.sleep(1) begin_time = time.time() ''' #总消耗时长: 2.001000165939331 foo
阅读全文
posted @ 2020-05-14 20:32 linma
阅读(193)
评论(0)
推荐(0)
公告