随笔分类 -  python

摘要:转载至:https://www.zhihu.com/question/40025043 Solution1: 1.首先运行python的时候关闭Fiddler这个软件,开启它之后运行python会自动改变端口,造成ssl错误。 2. import ssl 阅读全文
posted @ 2019-04-11 18:51 Jingggo 阅读(139) 评论(0) 推荐(0)
摘要:Object: Book Attribute: datemode 阅读全文
posted @ 2019-04-11 16:55 Jingggo 阅读(117) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2019-04-11 16:52 Jingggo 阅读(531) 评论(0) 推荐(0)
摘要:run 执行.py文件 阅读全文
posted @ 2017-11-09 09:53 Jingggo 阅读(138) 评论(0) 推荐(0)
摘要:知乎答案: https://www.zhihu.com/question/41974592?from=profile_question_card 答案一 亲测有效 阅读全文
posted @ 2017-11-01 17:56 Jingggo 阅读(194) 评论(0) 推荐(0)
摘要:正则表达式(regex): 用来简洁表达一组字符的表达式 通用的字符串框架 简洁表达一组字符串的表达式 针对字符串表达“简洁” 和 “特征” 思想的工具 某字符串的特征归属 在文本中十分常用 字符串匹配 编译:将符合正则表达式语法的字符串转换成正则表达式特征。 Re库为python的标准库。 raw 阅读全文
posted @ 2017-10-31 09:32 Jingggo 阅读(1066) 评论(0) 推荐(0)
摘要:import requests requests.ConnectionError request.HTTPError requests.URLError requests.URLRequired requests.TooManyRedirects requests.ConnectTimeout re 阅读全文
posted @ 2017-10-26 10:56 Jingggo 阅读(107) 评论(0) 推荐(0)
摘要:Beautiful Soup 是解析,遍历,维护“标签树”的功能库。 官网: https://www.crummy.com/software/BeautifulSoup/ 中文说明: http://beautifulsoup.readthedocs.io/zh_CN/latest/ 安装: pip 阅读全文
posted @ 2017-10-20 09:26 Jingggo 阅读(228) 评论(0) 推荐(0)