This document is for an old version of Python that is no longer supported. You should install the python3 and python3-doc packages and read the Python documentation for the Python3 version packaged in this release.

# 13. File Formats

The modules described in this chapter parse various miscellaneous file formats that aren’t markup languages or are related to e-mail.

- 13.1. `csv` — CSV File Reading and Writing
  - 13.1.1. Module Contents
  - 13.1.2. Dialects and Formatting Parameters
  - 13.1.3. Reader Objects
  - 13.1.4. Writer Objects
  - 13.1.5. Examples
- 13.2. `ConfigParser` — Configuration file parser
  - 13.2.1. RawConfigParser Objects
  - 13.2.2. ConfigParser Objects
  - 13.2.3. SafeConfigParser Objects
  - 13.2.4. Examples
- 13.3. `robotparser` — Parser for robots.txt
- 13.4. `netrc` — netrc file processing
  - 13.4.1. netrc Objects
- 13.5. `xdrlib` — Encode and decode XDR data
  - 13.5.1. Packer Objects
  - 13.5.2. Unpacker Objects
  - 13.5.3. Exceptions
- 13.6. `plistlib` — Generate and parse Mac OS X `.plist` files
  - 13.6.1. Examples