TextIOBase# class io.TextIOBase# Bases: _TextIOBase, IOBase Base class for text I/O. This class provides a character and line based interface to stream I/O. There is no readinto method because Python’s character strings are immutable.