os.path.islink(path) Return True if path refers to a directory entry that is a symbolic link. Always False
stat.filemode(mode) Convert a file’s mode to a string of the form ‘-rwxrwxrwx’.
tempfile.gettempdir() Return the name of the directory used for temporary files. This defines the default value for the dir
tempfile.gettempdirb() Same as gettempdir() but the return value is in bytes.
right_only Files and subdirectories only in b.
class pathlib.PurePosixPath(*pathsegments) A subclass of PurePath, this path flavour represents non-Windows filesystem
shutil.unregister_unpack_format(name) Unregister an unpack format. name is the name of the format.
stat.S_ISBLK(mode) Return non-zero if the mode is from a block special device file.
os.path.normpath(path) Normalize a pathname by collapsing redundant separators and up-level references so that A//B
Path.rglob(pattern) This is like calling
Page 12 of 19