tempfile.gettempdirb() Same as gettempdir() but the return value is in bytes.
shutil.which(cmd, mode=os.F_OK | os.X_OK, path=None) Return the path to an executable which would be run if the given cmd
left The directory a.
Path.expanduser() Return a new path with expanded ~ and ~user constructs, as returned by
shutil.register_unpack_format(name, extensions, function[, extra_args[, description]]) Registers an unpack format. name
shutil.unpack_archive(filename[, extract_dir[, format]]) Unpack an archive. filename is the full path of the archive
os.path.supports_unicode_filenames True if arbitrary Unicode strings can be used as file names (within limitations
Path.rglob(pattern) This is like calling
Path.symlink_to(target, target_is_directory=False) Make this path a symbolic link to target. Under Windows, ta
class pathlib.PurePosixPath(*pathsegments) A subclass of PurePath, this path flavour represents non-Windows filesystem
Page 13 of 19