2020年12月3日

python对比两个文件不同

摘要: pycharm 自带文件对比功能,右键选择compare withdef compare_file(file1,file2): f1 = open(file1,'r') f2 = open(file2,'r') count = 0 diff = [] for line1 in f1: line2 = 阅读全文

posted @ 2020-12-03 10:10 小白在此 阅读(2833) 评论(0) 推荐(0) 编辑

导航