为什么在课外无法阅读回复? 它只是冻结。我还没有在文档中看到它的告诫。
import asyncio
import aiohttp
async def example():
for _ in range(100):
async with aiohttp.ClientSession() as session:
response = await session.get('https://google.com')
await response.text()
asyncio.run(example())