会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
下雨天,真好
海纳百川,有容乃大,壁立千仞,无欲则刚
博客园
首页
新随笔
联系
订阅
管理
2020年10月5日
python 协程新版
摘要: import asyncio async def coro(i): print("core start",i) ret = await get(i) # 此处为耗时的io等操作 print("core end",i) return ret async def get(i): await asynci
阅读全文
posted @ 2020-10-05 20:06 下雨天,真好
阅读(105)
评论(0)
推荐(0)
编辑
公告