starlite79
Technical User
Hello,
I am using the cmp function of the module filecmp interactively as follows:
If they're the same, the result is true, otherwise false.
If the files are not the same, is there a way to get line numbers where the files differ or something with more information than just False?
I am using the cmp function of the module filecmp interactively as follows:
Code:
import filecmp
filecmp.cmp('file1', 'file2')
If the files are not the same, is there a way to get line numbers where the files differ or something with more information than just False?