shutil.copystat(src, dst, *, follow_symlinks=True) Copy the permission bits, last access time, last modification time, and flags
glob.glob(pathname, *, recursive=False) Return a possibly-empty list of path names that match pathname, which must
Path.mkdir(mode=0o777, parents=False, exist_ok=False) Create a new directory at this given path. If mode is given,
Path.is_dir() Return True if the path points to a directory (or a symbolic link pointing to a directory), False
PurePath.with_name(name) Return a new path with the name changed. If the original path doesn’t have a name, ValueError
fnmatch.filter(names, pattern) Return the subset of the list of names that match pattern. It is the same as
tempfile.TemporaryFile(mode='w+b', buffering=None, encoding=None, newline=None, suffix=None, prefix=None, dir=None) Return a
PurePath.as_posix() Return a string representation of the path with forward slashes (/):
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: >>>
Page 4 of 19