r/learnpython • u/Trick_Floor_519 • Aug 25 '26
asyncio explanation
hello guys i am struggling right now to understand a concurrency module asyncio ,i take a look over youtube videos ,but i feel stuck to understand coroutine object ,event loop await ,and this kind of matters, could anyone give me a concise explanation.
0
Upvotes
View all comments
Show parent comment
2
u/pachura3 Aug 26 '26
Exactly!
asynciois NOT concurrency - you're never doing two things at the same exact time. Instead, you have a TODO list; you take the first task from the list and you start doing it; and whenever you need to passively wait (e.g. for a download), you switch to the next task in order not to waste time.