特牛网址导航

python 并发、并行处理、分布式处理_Michael阿明的博客-CSDN博客

网友收藏
文章浏览阅读767次。async def hello() : await asyncio . sleep(1) # 等待1 s print("hello michael") coro = hello() print(coro) # loop = asyncio . get_event_loop() loop . run_until_complete(coro) # hello michaelawait。