texthold
Introduction

This project provides a class that holds text.

Installation
Features
texthold.Holder(data: Iterable = ()) -> None

This subclass of datahold.OkayList stores text as a list of lines.

data: list

This property represents the lines of text.

dump(stream: BinaryIO) -> None

This method dumps the data into a byte stream.

dumpintofile(file: Any) -> None

This method dumps the data into a file.

dumps() -> str

This method dumps the data as a string.

load(stream: BinaryIO) -> Self

This classmethod loads a new instance from a given byte stream.

loadfromfile(file: Any) -> Self

This classmethod loads a new instance from a given file.

loads(string: Any) -> Self

This classmethod loads a new instance from a given string.

Testing
License
Impressum