This document is for an old version of Python that is no longer supported. You should upgrade, and read the Python documentation for the current stable release.

Navigation

  • index
  • modules |
  • next |
  • previous |
  • Python Β»
  • 3.7.17 Documentation Β»
  • The Python Standard Library Β»
  • |

File FormatsΒΆ

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

  • csv β€” CSV File Reading and Writing
    • Module Contents
    • Dialects and Formatting Parameters
    • Reader Objects
    • Writer Objects
    • Examples
  • configparser β€” Configuration file parser
    • Quick Start
    • Supported Datatypes
    • Fallback Values
    • Supported INI File Structure
    • Interpolation of values
    • Mapping Protocol Access
    • Customizing Parser Behaviour
    • Legacy API Examples
    • ConfigParser Objects
    • RawConfigParser Objects
    • Exceptions
  • netrc β€” netrc file processing
    • netrc Objects
  • xdrlib β€” Encode and decode XDR data
    • Packer Objects
    • Unpacker Objects
    • Exceptions
  • plistlib β€” Generate and parse Mac OS X .plist files
    • Examples

Previous topic

tarfile β€” Read and write tar archive files

Next topic

csv β€” CSV File Reading and Writing

This Page

  • Report a Bug
  • Show Source

Navigation

  • index
  • modules |
  • next |
  • previous |
  • Python Β»
  • 3.7.17 Documentation Β»
  • The Python Standard Library Β»
  • |
Β© Copyright 2001-2025, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.
Last updated on Apr 16, 2025. Found a bug?
Created using Sphinx 2.3.1.