![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
未来农场
月光
展开
-
Python爬虫实现JS写的翻页
目标网站:http://beijing.chineseoffice.com.cn/Template/office_complete.html 当查看网页源码时,没有各楼信息,实际写在JS里,包括翻页功能。 Chrome的developer tool查看网络包信息: 上代码: url = "http://beijing.chineseoffice.com.cn/Building/Get...原创 2019-02-19 17:51:26 · 3560 阅读 · 0 评论 -
python的注释
转自:https://www.cnblogs.com/shizilunya/p/8081285.html python开头注释 1 2 3 #!/usr/bin/env python # -*- coding:utf-8 -*- # Author:XXX 1.#!/usr/bin/env python 与#!/...转载 2019-03-04 16:24:54 · 3756 阅读 · 0 评论 -
MacOS+python3+pip 安装lxml
1. 终端里cd到这个路径: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include 然后在终端输入: C_INCLUDE_PATH=/Applications/Xcode.app/Contents/Developer/Pla...原创 2019-03-04 17:44:07 · 1378 阅读 · 0 评论