filecmp
¶
Utilities for comparing files and directories.
- Classes:
- dircmp
- Functions:
- cmp(f1, f2, shallow=1) -> int cmpfiles(a, b, common) -> ([], [], [])
Functions¶
cmp (f1, f2[, shallow]) |
Compare two files. |
cmpfiles (a, b, common[, shallow]) |
Compare common files in two directories. |
demo () |
Classes¶
dircmp (a, b[, ignore, hide]) |
A class that manages the comparison of 2 directories. |
ifilter |
ifilter(function or None, sequence) –> ifilter object |
ifilterfalse |
ifilterfalse(function or None, sequence) –> ifilterfalse object |
imap |
imap(func, *iterables) –> imap object |
izip |
izip(iter1 [,iter2 [...]]) –> izip object |