guettler at thomas-guettler.de
Fri Jun 6 16:19:02 CEST 2003
I need a method like diff --brief which tells my
wether two files differ.
I looked at filecmp.cmp(), but this does not seem
to do what I want.
I did it like this, but I would prefere to use a function
from the library (if there is such a function)
def diff(file1, file2):
returns 1 if the content of both files are different
returns 0 if all bytes are equal.
if not chunk1:
More information about the Python-list