
Python
Sodaoo
Deep Inner Peace
展开
-
17 - 05 - 27 Python3安装Scrapy
哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈一、你是不是在命令行里敲 ------------ pip install Scrapy 的时候遇到了某些不可预知的困难~二、这是因为你缺少库:使用命令行安装wheel库:-------------- pip install wheel出现: C://.......su原创 2017-04-19 17:43:35 · 548 阅读 · 0 评论 -
17 - 05 - 26 Python contents / children / descendants 区别
先说说导航树:# Navigating Trees 导航树:The findAll function is responsible for finding tags based on their name and attribute.(依靠标签的名称和属性来查找标签)但是如果你需要通过标签在文档中的位置来查找标签,该怎么办?某HTML文件就可以映射成为这样一棵具有明确亲原创 2017-04-18 17:00:55 · 2570 阅读 · 0 评论 -
17 - 05 - 25 Python codes run happily
#### Web Scraping with Python#### --------------------------------------------------------------------------------------------(Translation and application )_____________________________ONE____翻译 2017-04-17 21:34:58 · 475 阅读 · 0 评论 -
17 - 05 - 24 Python3 urllib.parse functions
# Python3的urllib.parse常用函数 获取url参数>>> from urllib import parse>>> url=r'https://docs.python.org/3.5/search.html?q=parse&check_keywords=yes&area=default'>>> parseResult = parse.urlparse(url)原创 2017-04-15 22:15:17 · 456 阅读 · 0 评论 -
17 - 05 - 23 Python urllib encode()
from urllib import requestresponse = request.urlopen('http://www.baidu.com/')content = response.read().decode('utf-8') print(content) # response是一个对象,对对象可应用方法。 # >>> type(response) # 当u原创 2017-04-15 21:50:19 · 766 阅读 · 0 评论 -
Python 2.7 获取网络信息(Urllib)
>>> import urllib>>> google = urllib.urlopen('http://www.google.com')>>> print 'http header:\n',google.info()...............(一堆HTTP头信息)>>> print 'http status:',google.getcode()http status:原创 2017-06-30 14:09:51 · 3796 阅读 · 0 评论 -
Python 3 安装 BeautifulSoup
来到这个网站:https://www.crummy.com/software/BeautifulSoup/这里有最新的 BeautifulSoup 版本,一般越新,对于python3 的支持就越好。 https://www.crummy.com/software/BeautifulSoup/bs4/download/(一般)选一个原创 2017-04-14 20:42:20 · 8799 阅读 · 1 评论 -
python 聊天机器人 ,编译为exe
https://github.com/Sodaoo/TalkingReboot原创 2017-11-11 16:20:46 · 499 阅读 · 0 评论 -
忧郁的弟弟(galgame)全站抓取
https://github.com/Sodaoo/galgame原创 2017-11-11 16:51:40 · 152559 阅读 · 0 评论