file comparison
Chris Rebert
clp2 at rebertia.com
Fri Jul 31 05:37:25 EDT 2009
On Fri, Jul 31, 2009 at 2:25 AM, learner learner<pyvault2.6 at 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
More information about the Python-list
mailing list