I would greatly appreciate, if you guys could help me with this query.
In my python code, I have opened two files using the open(file, r) function.
Now what I want is, read all the lines of these two files and compare two columns in those data if they match.
I have tried a nested for loop for each line in files
for line in file:
for lines in file:
file1 = split(line)
file2 = split(lines)
process matching query
However, it does not seem to be working. Could you guys point me in the right direction on how to achieve that?
Thanks