zut.files.read_text

zut.files.read_text(path: str | Path, encoding: str = None, errors: str = None) str

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