Quantcast
Channel: Planet Python
Viewing all articles
Browse latest Browse all 22847

Doug Hellmann: asyncio — Asynchronous I/O, event loop, and concurrency tools — PyMOTW 3

$
0
0
The asyncio module provides tools for building concurrent applications using coroutines. While the threading module implements concurrency through application threads and multiprocessing implements concurrency using system processes, asyncio uses a single-threaded, single-process approach in which parts of an application cooperate to switch tasks explicitly at optimal times. Most often this context switching occurs when the … Continue reading asyncio — Asynchronous I/O, event loop, and concurrency tools — PyMOTW 3

Viewing all articles
Browse latest Browse all 22847

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>