![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python 学习笔记
mjesse88
这个作者很懒,什么都没留下…
展开
-
Python 学习随笔
个人兴趣,开始学习python 爬虫相关编程,笔记仅仅记录笔者在学习过程中遇到的不解和解决方法,如果疑问欢迎留言,共同学习,共同记录(持续更新)#1.20200421-print输入respone不能换行的问题import urllib.parseimport urllib.requestdata = bytes(urllib.parse.urlencode({'word':'he...原创 2020-04-21 22:41:35 · 206 阅读 · 0 评论 -
《疯狂讲义》之多线程下载文件类
该源码为疯狂讲义多线程下载工具类, 可以使用,如果需要正式投产 建议添加相关异常处理.from urllib.request import *import threadingclass DownUtil: def __init__(self, path, targetfile, thread_num): # need down file path ...原创 2020-04-09 22:52:38 · 171 阅读 · 0 评论