Open Marcuzzz opened 4 years ago
Hi,
Quick question: Can you give an example for changing the _OPTION_SEP from " = " to "="
config = ConfigFile("thefile.cfg") config["Name"] = "value" config.export_reset("thefile.cfg",_OPTION_SEP='=')
Hi, you can try this:
from configfile import ConfigFile, Section Section._OPTION_SEP = "=" config = ConfigFile("thefile.cfg") config["Name"] = "value" config.export_reset("thefile.cfg")
Hi,
Quick question: Can you give an example for changing the _OPTION_SEP from " = " to "="
config = ConfigFile("thefile.cfg") config["Name"] = "value" config.export_reset("thefile.cfg",_OPTION_SEP='=')