随笔分类 -  正则regex

摘要:前提: 了解正则基本语法 1 import re 2 with open('top10_xiaozhuang_net.log','r') as f1: #读取日志文件 3 4 subject=f1.readlines() 5 with open('slice_log.log','w') as f2: 阅读全文
posted @ 2019-04-19 17:33 夏天换上冬装 阅读(767) 评论(0) 推荐(0)