Chapter 9. Input and Output

THIS CHAPTER DESCRIBES THE DETAILS OF PYTHON input and output (I/O), including command-line options, environment variables, file I/O, Unicode, and object persistence.

Get Python: Essential Reference, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.