zut.files.read_text
- zut.files.read_text(path: str | PathLike, *, encoding: str | None = None, errors: str | None = None, newline: str | None = None, mkdir: bool = False, sudo: bool = False) str
Open the file in text mode, read it, and close the file.