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.basename(path) Return the base name of pathname path. This is the second element of the pair returned by passing
Path.is_socket() Return True if the path points to a Unix socket (or a symbolic link pointing to a Unix socket)
Path.is_symlink() Return True if the path points to a symbolic link, False otherwise.
shutil.ignore_patterns(*patterns) This factory function creates a function that can be used as a callable for copytree()‘s
tempfile.mkdtemp(suffix=None, prefix=None, dir=None) Creates a temporary directory in the most secure manner possible. There
stat.S_ISWHT(mode) Return non-zero if the mode is from a whiteout.
classmethod Path.home() Return a new path object representing the user’s home directory (as returned by
report_partial_closure() Print a comparison between a and b and common immediate subdirectories.
PurePath.match(pattern) Match this path against the provided glob-style pattern. Return True if matching is successful
Page 18 of 19