io — Text, Binary, and Raw Stream I/O Tools — PyMOTW 3
Originally posted · 1 min read
The io module provides access to the built-in open() function and the classes used to implement file-based input and output operations. The classes are decomposed in such a way that they can be recombined for alternate purposes, for example to enable writing Unicode data to a network socket.
This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.