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