python----实现相同文件筛选删除掉
from pathlib import Pathimport filecmppath_list=[path for path in Path(R'C:\Users\admin\Desktop\test').iterdir() if path.is_file()]for front in range(len(path_list)-1): for later in range(front+1,len(path_list)): if filecmp.cmp(path_list[fr