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.

4
  • Does your downloader block like it would in a traditional thread? Or will it use all asynchronous calls? Commented Mar 19, 2016 at 16:24
  • @cpburnz I used requests initially (which is blocking if I read correctly), but could also use aiohttp. It won't download multiple files (just a single one) and the file itself is relatively small (< 200KB). Commented Mar 19, 2016 at 16:29
  • @Kristof have you got any questions about answer? Feel free to ask. Commented Mar 20, 2016 at 8:50
  • @germn You really helped me out a lot and I've been doing a fair bit of reading on asyncio, slowly starting to get the hang of it. Thanks so much for taking the time to rewrite my code! Commented Mar 20, 2016 at 17:15