scenario.configini module¶
INI configuration file management.
- class ConfigIni¶
Bases:
object
INI configuration file management.
- static loadfile(path, root='')¶
Loads a INI configuration file.
- Parameters:
path – Path of the INI file to load.
root – Root key to load the INI file from.
- static savefile(path, root='')¶
Saves a INI configuration file.
- Parameters:
path – Path of the INI file to save.
root – Root key to save data from.
Warning
Works only for Dict[str, Dict[str, Union[str, int, bool, float]]] dictionaries (i.e. [section]/key = value structures).