摘要: 1.re模块 主要用来从字符串(文本)里找特定的东西。 import re s = '孙悟空找猪八戒找媳妇妇妇高$$$$$@@@@翠兰,然____后asdfasdf吃西瓜234234瓜,再吃 西瓜' res = re.findall('西瓜',s) print(res) res =re.findal 阅读全文
posted @ 2019-06-13 19:54 海森t 阅读(69) 评论(0) 推荐(0)