ID EN
Config Parser

RawConfigParser

Python 3.11

Legacy variant of the ConfigParser. It has interpolation disabled by default and allows for non-string section names, option names, and values via its unsafe add_section and set methods, as well as the legacy defaults= keyword argument handling.

Syntax

PYTHON
class configparser.RawConfigParser(defaults=None, dict_type=dict, allow_no_value=False, *, delimiters=('=', ':'), comment_prefixes=('', ';'), inline_comment_prefixes=None, strict=True, empty_lines_in_values=True, default_section=configparser.DEFAULTSECT[, interpolation])

See Also

ConfigParser dict ConfigParser DuplicateSectionError ValueError NoSectionError RawConfigParser ConfigParser