shutil.rmtree(path, ignore_errors=False, onerror=None) Delete an entire directory tree; path must point to a directory
os.path.samestat(stat1, stat2) Return True if the stat tuples stat1 and stat2 refer to the same
report_partial_closure() Print a comparison between a and b and common immediate subdirectories.
fileinput.lineno() Return the cumulative line number of the line that has just been read. Before the first line has been read
shutil.copy(src, dst, *, follow_symlinks=True) Copies the file src to the file or directory dst. src
classmethod Path.home() Return a new path object representing the user’s home directory (as returned by
glob.escape(pathname) Escape all special characters ('?', '*' and '['). This is useful
Path.stat() Return information about this path (similarly to
os.path.commonpath(paths) Return the longest common sub-path of each pathname in the sequence paths. Raise ValueError
fileinput.close() Close the sequence.
Page 15 of 19