asyncio+aiohttp+aiofile 全异步爬取下载
由于IPython暂未支持异步操作,详见ipython/ipykernel#323,故运行环境转至pycharm中(据说Spyder会有莫名的问题,相详见RuntimeError: This event loop is already running”; debugging aiohttp, asyncio and IDE “spyder3” in python 3.6.5)
在Python shell里import antigravity就会打开xkcd - A webcomic 网站 xkcd是由兰德尔·门罗(Randall Munroe)所绘制的网络漫画,作者给作品的定义是一部“关于浪漫、讽刺、数学和语言的网络漫画”(A webcomic of romance, sarcasm, math, and language.)。