![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
爬虫
文章平均质量分 69
entehen
这个作者很懒,什么都没留下…
展开
-
python爬虫自学笔记本(2015.12.14)
1.requests模块比urllib要方便,多用 2.判断当前路径下是否有此文件夹、如无就在此指定路径建立文件夹:if not os.path.isdir('路径文件名'):os.mkdir('路径文件名'); 将下载目标文件到此文件夹下:os.path.join('路径文件名',""+''+'') 3.简单复习了eval()int()str() eval() :http://blo原创 2015-12-14 17:15:14 · 479 阅读 · 0 评论 -
python3 zip()
Make an iterator that aggregates elements from each of the iterables. Returns an iterator of tuples, where the i-th tuple contains the i-th element from each of the argument sequences or iterables.转载 2015-12-27 15:17:28 · 620 阅读 · 0 评论