14. 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.
- 14.1.
csv— CSV File Reading and Writing - 14.2.
configparser— Configuration file parser- 14.2.1. Quick Start
- 14.2.2. Supported Datatypes
- 14.2.3. Fallback Values
- 14.2.4. Supported INI File Structure
- 14.2.5. Interpolation of values
- 14.2.6. Mapping Protocol Access
- 14.2.7. Customizing Parser Behaviour
- 14.2.8. Legacy API Examples
- 14.2.9. ConfigParser Objects
ConfigParserConfigParser.defaults()ConfigParser.sections()ConfigParser.add_section()ConfigParser.has_section()ConfigParser.options()ConfigParser.has_option()ConfigParser.read()ConfigParser.read_file()ConfigParser.read_string()ConfigParser.read_dict()ConfigParser.get()ConfigParser.getint()ConfigParser.getfloat()ConfigParser.getboolean()ConfigParser.items()ConfigParser.set()ConfigParser.write()ConfigParser.remove_option()ConfigParser.remove_section()ConfigParser.optionxform()ConfigParser.readfp()
MAX_INTERPOLATION_DEPTH
- 14.2.10. RawConfigParser Objects
- 14.2.11. Exceptions
- 14.3.
netrc— netrc file processing - 14.4.
xdrlib— Encode and decode XDR dataPackerUnpacker- 14.4.1. Packer Objects
- 14.4.2. Unpacker Objects
Unpacker.reset()Unpacker.get_position()Unpacker.set_position()Unpacker.get_buffer()Unpacker.done()Unpacker.unpack_float()Unpacker.unpack_double()Unpacker.unpack_fstring()Unpacker.unpack_fopaque()Unpacker.unpack_string()Unpacker.unpack_opaque()Unpacker.unpack_bytes()Unpacker.unpack_list()Unpacker.unpack_farray()Unpacker.unpack_array()
- 14.4.3. Exceptions
- 14.5.
plistlib— Generate and parse Mac OS X.plistfiles
