tempfile.TemporaryDirectory(suffix=None, prefix=None, dir=None) This function securely creates a temporary directory using the
Path.touch(mode=0o666, exist_ok=True) Create a file at this given path. If mode is given, it is combined with the process’
shutil.register_archive_format(name, function[, extra_args[, description]]) Register an archiver for the format name
subdirs A dictionary mapping names in common_dirs to dircmp objects.
stat.S_ISPORT(mode) Return non-zero if the mode is from an event port.
common_files Files in both a and b.
tempfile.gettempprefix() Return the filename prefix used to create temporary files. This does not contain the directory component
Path.write_bytes(data) Open the file pointed to in bytes mode, write data to it, and close the file:
shutil.get_unpack_formats() Return a list of all registered formats for unpacking. Each element of the returned sequence is
os.path.lexists(path) Return True if path refers to an existing path. Returns True for broken
Page 2 of 19