例如我送文件 with open('test_zip'), 'wb') as f:
f.write(content)
res = requests.post(URL, data={'file': content})
然后我试图让服务器端的文件 async def handle(request):
form = await request.post()
data
我想ayncio和使用coroutine不与线程相关的,因为coroutine是一种“线”下程序的调度运行的,所以应该只有1个线程运行每个过程。但是,当我在Making 1 million requests with python-aiohttp跑的例子,代码如下图所示: # modified fetch function with semaphore
import random
import