right The directory b.
shutil.chown(path, user=None, group=None) Change owner user and/or group of the given path.
tempfile.gettempdir() Return the name of the directory used for temporary files. This defines the default value for the dir
os.path.getmtime(path) Return the time of last modification of path. The return value is a number giving the number
os.path.exists(path) Return True if path refers to an existing path or an open file descriptor. Returns
Path.write_text(data, encoding=None, errors=None) Open the file pointed to in text mode, write data to it, and close
Path.rmdir() Remove this directory. The directory must be empty.
Path.symlink_to(target, target_is_directory=False) Make this path a symbolic link to target. Under Windows, ta
shutil.copy2(src, dst, *, follow_symlinks=True) Identical to copy() except that copy2() also attempts
Path.chmod(mode) Change the file mode and permissions, like
Page 14 of 19