原文: http://blog.gqylpy.com/gqy/397
Sanic is based on the asynchronous function async def func()
after python3.6, a lot of online introduction, here is not detailed. One thing to note is that Sanic USES uvloop as the asyncio event loop, uvloop is written by Cython and makes asyncio faster, so we'll start with the basics.
pip3 install sanic