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.
tempfile.tempdir When set to a value other than None, this variable defines the default value for the dir
shutil.register_archive_format(name, function[, extra_args[, description]]) Register an archiver for the format name
fileinput.isstdin() Returns true if the last line was read from sys.stdin, otherwise returns false.
Path.write_bytes(data) Open the file pointed to in bytes mode, write data to it, and close the file:
os.path.samefile(path1, path2) Return True if both pathname arguments refer to the same file or directory. This
PurePath.joinpath(*other) Calling this method is equivalent to combining the path with each of the other arguments
fileinput.hook_compressed(filename, mode) Transparently opens files compressed with gzip and bzip2 (recognized by the extensions
class pathlib.WindowsPath(*pathsegments) A subclass of Path and PureWindowsPath, this class represents
Page 1 of 19