zut.read_text

zut.read_text(path: str | PathLike, *, encoding: str | None = None, errors: str | None = None, newline: str | None = None, sudo=False) str

Open the file in text mode, read it, and close the file.