common_funny Names in both a and b, such that the type differs between the directories, or names for which
common_dirs Subdirectories in both a and b.
tempfile.mkstemp(suffix=None, prefix=None, dir=None, text=False) Creates a temporary file in the most secure manner possible
fileinput.filelineno() Return the line number in the current file. Before the first line has been read, returns 0
os.path.normcase(path) Normalize the case of a pathname. On Unix and Mac OS X, this returns the path unchanged; on case-insensitive
os.path.relpath(path, start=os.curdir) Return a relative filepath to path either from the current directory or from
same_files Files which are identical in both a and b, using the class’s file comparison operator.
report_partial_closure() Print a comparison between a and b and common immediate subdirectories.
PurePath.drive A string representing the drive letter or name, if any:
shutil.ignore_patterns(*patterns) This factory function creates a function that can be used as a callable for copytree()‘s
Page 16 of 19