Hi all...
..i have to read a python config file -> change the value ->write it back
the file looks like:
i have use map/list example with key/value but it seem i am on the wrong way.
any idea is welcome
Michael
..i have to read a python config file -> change the value ->write it back
the file looks like:
[Logging]
ch0 = True
ch1 = True
ch2 = True
ch3 = True
ch4 = True
ch5 = True
ch6 = True
ch7 = True
ch8 = True
ch9 = True
ch10 = True
ch11 = True
separator = ,
write_new_log_on_restart = False
[web_alert]
ch0 = False
ch1 = False
ch2 = False
ch3 = False
ch4 = False
ch5 = False
ch6 = False
ch7 = False
ch8 = False
ch9 = False
ch10 = False
ch11 = False
i have use map/list example with key/value but it seem i am on the wrong way.
any idea is welcome
Michael