Path.mkdir(mode=0o777, parents=False, exist_ok=False) Create a new directory at this given path. If mode is given,
Path.glob(pattern) Glob the given pattern in the directory represented by this path, yielding all matching files (of
PurePath.parents An immutable sequence providing access to the logical ancestors of the path:
os.path.isfile(path) Return True if path is an existing regular file. This follows symbolic links, so
fnmatch.filter(names, pattern) Return the subset of the list of names that match pattern. It is the same as
os.path.join(path, *paths) Join one or more path components intelligently. The return value is the concatenation of path
exception shutil.Error This exception collects exceptions that are raised during a multi-file operation. For copytree()
PurePath.parent The logical parent of the path: >>>
fileinput.input(files=None, inplace=False, backup='', bufsize=0, mode='r', openhook=None) Create an instance of the FileInput
os.path.sameopenfile(fp1, fp2) Return True if the file descriptors fp1 and fp2 refer to the same
Page 4 of 19