摘要: 去除文件中的重复元素后写入文件#coding:utf-8import fileinputimport re#只包含单行的数据文件f=open(r'D:\snowDocument\excludes.txt','w')#匹配行内容中包含 '-'的字符p2=re.compile('-')def main(... 阅读全文
posted @ 2013-12-03 11:21 前行者2011 阅读(162) 评论(0) 推荐(0) 编辑