finding and listing the differences between two files

Cliff Crawford cjc26 at nospam.cornell.edu
Sat Mar 10 11:35:34 EST 2001


* Chris Richard Adams <chrisa at ASPATECH.COM.BR> menulis:
| 
| Anyone know the equivalent in Python or am I better off sticking to
| shell.

2.1 has a module called "difflib" which you can use.  Also, a diff
program written in Python comes with the Python source
(Tools/scripts/ndiff.py).


-- 
Cliff Crawford

He who sacrifices his conscience to ambition
         burns a picture to obtain the ashes.  - Chinese proverb



More information about the Python-list mailing list