15 May 07:54
looking for ways to get diff between two txt files
From: Kamal <kpsingh <at> gmail.com>
Subject: looking for ways to get diff between two txt files
Newsgroups: gmane.comp.python.tutor
Date: 2008-05-15 05:58:14 GMT
Subject: looking for ways to get diff between two txt files
Newsgroups: gmane.comp.python.tutor
Date: 2008-05-15 05:58:14 GMT
Hi, I would really appreciate if someone help to find a way to calculate delta (diff) between two similar text files. I have looked at difflib and found related script at this site http://www.java2s.com/Code/Python/Utility/Printfilediffsincontextunifiedorndiffformats.htm Is there a simple way to just get delta between two files? e.g. I have below two files and the delta between these two files is in diff_output.txt file1.txt hello world file2.txt hello world hello python diff_output.txt hello python -- -- Thanks, Kamal _______________________________________________ Tutor maillist - Tutor <at> python.org http://mail.python.org/mailman/listinfo/tutor
RSS Feed