stat.S_ISREG(mode) Return non-zero if the mode is from a regular file.
PurePath.parents An immutable sequence providing access to the logical ancestors of the path:
os.path.samefile(path1, path2) Return True if both pathname arguments refer to the same file or directory. This
fnmatch.translate(pattern) Return the shell-style pattern converted to a regular expression.
tempfile.tempdir When set to a value other than None, this variable defines the default value for the dir
PurePath.is_absolute() Return whether the path is absolute or not. A path is considered absolute if it has both a root and (if
tempfile.TemporaryDirectory(suffix=None, prefix=None, dir=None) This function securely creates a temporary directory using the
tempfile.gettempprefix() Return the filename prefix used to create temporary files. This does not contain the directory component
common_files Files in both a and b.
fileinput.hook_compressed(filename, mode) Transparently opens files compressed with gzip and bzip2 (recognized by the extensions
Page 1 of 19