上QQ阅读APP看书,第一时间看更新
aiohttp and asyncio
aiohttp is a library to build server and client applications built in asyncio. The library uses the advantages of websockets natively to communicate different parts of the application asynchronously.
The documentation is available at http://aiohttp.readthedocs.io/en/stable.
asyncio is a python module that helps to do concurrent programming of a single thread in python. Already in python 3.6, the documentation is available at https://docs.python.org/3/library/asyncio.html.