檔案格式¶
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 檔案讀取及寫入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 物件
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 物件
- 例外
tomllib--- 剖析 TOML 檔案netrc--- netrc 檔案處理plistlib--- Generate and parse Apple.plistfiles