python文本去重函数_Python实现的txt文件去重功能示例
本文实例讲述了Python实现的txt文件去重功能。分享给大家供大家参考,具体如下:# -*- coding:utf-8 -*-#! python2import shutila=0readDir = "/Users/Administrator/Desktop/old.txt" #oldwriteDir = "/Users/Administrator/Desktop/new.txt" #new# ...