![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
孤独吹小仑
不知道写什么!
展开
-
python异步IO的发展历程
python中异步IO发展分为三个发展阶段 1.使用yield和send 2.使用@asyncio.coroutine和yield from 3.使用async/await关键字 一、yield和send def fib(n): res = [0]*n index = 0 a = 0 b = 1 while index < n: res[index] = b a, b原创 2017-12-02 20:42:29 · 327 阅读 · 0 评论 -
使用代理的爬虫小程序
使用使用ip117.135.250.134端口80作为代理服务器,爬取了百度首页的代码。原创 2017-12-06 14:39:04 · 259 阅读 · 0 评论