(Mar-29-2021, 12:11 PM)perfringo Wrote: with open('first_file.csv', 'r') as f, open('second_file.csv', 'r') as s: result = set(s.readlines()).difference(f.readlines()) print(*result)
I cannot compare files directly. I need to process lines after that lines in both files will be diferesnt.