- 博客(4)
- 收藏
- 关注
转载 requests-html
https://github.com/kennethreitz/requests-html 转:https://www.cnblogs.com/WuXiaolong/p/8570065.html
2018-08-21 10:21:00 341
原创 requests re 简单使用
import requestsimport reurl = 'https://www.dianping.com/shop/12600401'header = {'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 ...
2018-08-17 18:18:01 1108
转载 Python split() 方法,分隔符对字符串进行分割并返回一个列表
转:https://www.cnblogs.com/wushuaishuai/p/7687294.html以下实例展示了 split() 方法的使用方法:S = “this is string example….wow!!!” print (S.split( )) print (S.split(‘i’,1)) print (S.split(‘w’))以上实例输出结果如下: ...
2018-07-27 15:54:38 13994
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人