I have two lists whose content refers to one file1.txt and the other one file2.txt , there are differences in the contents of the files and I want to search < only the data that is in file2.txt and is not in file1.txt , I do not care the other way around.
It is possible to solve this with a loop which compares if element 0 belonging to file2.txt is present in some position in the list of file1.txt, the problem is that it would have to go through all this list.
Is there a easier and simplified way of doing this list match in Python?