diff --brief

Skip Montanaro skip at pobox.com
Fri Jun 6 16:46:06 CEST 2003


    Thomas> I need a method like diff --brief which tells my wether two
    Thomas> files differ.

    Thomas> I looked at filecmp.cmp(), but this does not seem to do what I
    Thomas> want.

Did you try difflib?  Looks like difflib.ndiff() might do what you want.

Skip





More information about the Python-list mailing list