ID EN
IO

TextIOWrapper

Python 3.11

A buffered text stream providing higher-level access to a BufferedIOBase buffered binary stream. It inherits from TextIOBase.

Syntax

PYTHON
class io.TextIOWrapper(buffer, encoding=None, errors=None, newline=None, line_buffering=False, write_through=False)

See Also

BufferedIOBase TextIOBase locale.getencoding() Text Encoding ValueError codecs.register_error() universal newlines os.linesep