set_key
Sets a new key. If the key already exists, the value is replaced.
value
: can beint
,str
,float
,bool
or alist
of thosegroup
: a group name in which the key will be stored
The group
is created if it does not exist.
You can set multiple keys using set.
Note
If a value is a list, all elements in the list must be the same type.