Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.

Questions tagged [asyncio]

Filter by
Sorted by
Tagged with
2 votes
1 answer
99 views

I need to query a large number of domains stored in a CSV file and save the associated metadata from the responses. My final goal is to generate a CSV file after applying filters to this metadata. The ...
Lo Bellin's user avatar
  • 121
6 votes
2 answers
383 views

My question: I'm wondering if anyone more experienced with using asyncio would consider the way I wrote the code to be reasonably canonical asyncio code. Perhaps I'm using overcomplicated or ...
user1848244's user avatar
2 votes
1 answer
98 views

I'm trying to change my sync code to asynchronous. It's my first time doing it like this, so I don't know if this is the right way. ...
gongul's user avatar
  • 21
1 vote
1 answer
77 views

I am bulk recompiling edits to a c-like language which uses an external compiler.exe. The compiler takes the file paths as arguments and does the processing, nothing needs to be synchronized simply ...
0xKate's user avatar
  • 521
1 vote
1 answer
4k views

I've encountered a paginated API route where there is no way to know the number of available pages. The only way to retrieve every pages is to check on each page if a next page exists. To do so, the ...
djoproject's user avatar
8 votes
1 answer
306 views

For my application, I needed a lightweight way to launch multiple tasks and monitor their completion in a main loop periodically or use callbacks. The main loop is going to be busy most of the time ...
ROMSCore's user avatar
2 votes
0 answers
180 views

I use asyncio to speed up web scraping. I collect only title, author, tags, datetime, total comments from list view from specific website. Also, i collect these from all pages. I would like to improve ...
AlexDotis's user avatar
  • 417
2 votes
2 answers
761 views

I've seen Using asyncio and aiohttp in classes but could not really figure out how to apply this to my own code. The main idea of this code is to inherit from this RESTClient class whenever I build a ...
Niels Perfors's user avatar
2 votes
0 answers
91 views

As part of a larger project, I've written the following code for interacting with git-annex's addurl command in batch mode. ...
jwodder's user avatar
  • 402
3 votes
1 answer
189 views

I'm going to start out by saying this is the 1st python program I have ever written and have no real background in the language so my code is probably pretty rough. Take it easy on me! When I wrote ...
James's user avatar
  • 61
1 vote
0 answers
147 views

I have the following working code for a generic WebSocket component: ...
P i's user avatar
  • 639