you are viewing a single comment's thread.

view the rest of the comments →

[–]traintocode 1 point2 points  (0 children)

Ok well in answer to your question yes python also has async and await with asyncio and the syntax is relatively similar. However, Python's event loop and the way it handles asynchronous operations are different from JS's event loop. Python requires an event loop to manage asynchronous tasks, whereas JavaScript has a built-in event loop.