Skip to content

text.py

Text dataclass

Bases: IO[str]

IO representing a plain-text file.

Examples:

>>> from ordeq_files import Text
>>> from pathlib import Path
>>> MyText = Text(
...     path=Path("path/to.txt")
... )