Other Chapters That Also Deal with Files

Because files are such a crucial concept in programming, even though this chapter is the largest one in the book, several other chapters also contain material that is relevant when you’re handling specific kinds of files. In particular, Chapter 11 deals with many kinds of files related to persistence and database functionality (marshal files in The marshal Module, pickle files in The pickle and cPickle Modules, shelve files in The shelve Module, DBM and DBM-like files in DBM Modules, Berkeley database files in Berkeley DB Interfacing), Chapter 23 deals with files in HTML format, and Chapter 24 deals with files in XML format.

Get Python in a Nutshell, 2nd 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.