Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 1
    Why? Neither asyncio nor aiohttp will give your code magic parallelism, nor will they speed up CPU-bound tasks. They're meant for asynchronous programming. Commented Jun 10, 2019 at 15:14
  • This is unrelated to your question, but instead of using range(len(names)), you can use for name, trainer in zip(names, trainers) and avoid the index lookups inside the loop. Commented Jun 10, 2019 at 15:57