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 Writingconfigparser— 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
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()
MAX_INTERPOLATION_DEPTH
- RawConfigParser Objects
- Exceptions
tomllib— Parse TOML filesnetrc— netrc file processingplistlib— Generate and parse Apple.plistfiles