1:基础理解异步如何实现的 # 请记住async创建的对象一定是coroutine对象 async def func(name): res = random.randint(1,10) print("{}需要{}秒".format(name,res)) # await 后面一定是coroutine对 Read More
posted @ 2022-09-09 16:33 PythonNew_Mr.Wang Views(192) Comments(0) Diggs(0)