2026年1月10日

python 协程demo

摘要: 1 import asyncio 2 3 4 async def async_func(): 5 await asyncio.sleep(1) 6 print("Async function executed.") 7 8 asyncio.run(async_func()) import async 阅读全文

posted @ 2026-01-10 23:43 luckygxf 阅读(9) 评论(0) 推荐(0)

导航