摘要: \d 阅读全文
posted @ 2018-08-17 20:04 落花~伤城 阅读(130) 评论(0) 推荐(0) 编辑
摘要: # re模块# 基础方法# 在python中使用正则表达式的特点和问题# 使用正则表达式的技巧# 爬虫的例子# random模块 # import re 模式# 查找(findall search match )# findall :匹配所有的每一项都是列表中的一个元素# s=re.findall( 阅读全文
posted @ 2018-08-17 20:00 落花~伤城 阅读(118) 评论(0) 推荐(0) 编辑