Python/filecmp
< Python
The filecmp module defines functions to compare files and directories, with various optional time/correctness trade-offs. For comparing files, see also the difflib module.
The filecmp module defines the following functions: