ID EN
Config Parser

set

Python 3.11

If the given section exists, set the given option to the specified value; otherwise raise NoSectionError. option and value must be strings; if not, TypeError is raised.

Syntax

PYTHON
set(section, option, value)

See Also

NoSectionError TypeError