fnmatch.translate(pattern) Return the shell-style pattern converted to a regular expression.
fileinput.hook_compressed(filename, mode) Transparently opens files compressed with gzip and bzip2 (recognized by the extensions
stat.S_ISSOCK(mode) Return non-zero if the mode is from a socket.
tempfile.tempdir When set to a value other than None, this variable defines the default value for the dir
os.path.samefile(path1, path2) Return True if both pathname arguments refer to the same file or directory. This
shutil.copystat(src, dst, *, follow_symlinks=True) Copy the permission bits, last access time, last modification time, and flags
PurePath.as_uri() Represent the path as a file URI.
fileinput.isstdin() Returns true if the last line was read from sys.stdin, otherwise returns false.
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.SpooledTemporaryFile(max_size=0, mode='w+b', buffering=None, encoding=None, newline=None, suffix=None, prefix=None, dir=None) This
Page 1 of 19