On Fri, Jul 31, 2009 at 2:25 AM, learner learner<pyvault...@gmail.com> 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.
See the `difflib` module: http://docs.python.org/library/difflib.html Cheers, Chris -- http://blog.rebertia.com -- http://mail.python.org/mailman/listinfo/python-list