Chapter 18. File Handling

THIS CHAPTER DESCRIBES PYTHON MODULES for high-level file handling. Topics include modules for processing various kinds of file formats, such as zip files, tar files, and bzip2 files. In addition, modules for working with files and directories are described. Low-level operating-system calls related to files are covered in Chapter 19, “Operating System Services.”

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.