On Friday 31 July 2009 11:25:17 learner learner wrote:
> Hi all,
>
> I want to compare two text files line by line and eliminate the
> matching/repeated line and store the unmatched/leftout lines into a third
> file or overwrite into one of them.

This is not as simple as it seems.

You will probably be better off using diff, or,
if it is a learning exercise, studying its source.

- Hendrik

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to