摘要: 在 windows 系统下,只需要输入命令 pip install requests ,即可安装。 在 linux 系统下,只需要输入命令 sudo pip install requests ,即可安装。 或者 Window 1. 下载requests 被墙 打开这个网址, http://www.l 阅读全文
posted @ 2016-12-03 23:17 高中国流 阅读(4583) 评论(2) 推荐(0) 编辑
摘要: import re from bs4 import BeautifulSoupdoc = ['<html><head><title>Page title</title></head>', '<body><p id="firstpara" align="center">This is paragrap 阅读全文
posted @ 2016-12-03 20:34 高中国流 阅读(185) 评论(0) 推荐(0) 编辑