我正在使用Python中的difflib来找出两个文本文件之间的区别。我可以打印在新文件中添加或删除的文本。但我想打印修改是在哪一行进行的。我的代码如下:import time
f1 = open(old_file, 'r')f2 = open(new_file, 'r')
new_file = f2.readlines()
di
我有以下数据帧tomato fruit tomatoes are not a fruitapple there are great benefits to appelfor i in range(0, len(Column1)):
store_it = SM(None, Column1[i], Column2[i]).get_matchin