Change Value In Ini File Using ConfigParser Python
Answer : As from the examples of the documentation: https://docs.python.org/2/library/configparser.html parser.set('SETTINGS', 'value', '15') # Writing our configuration file to 'example.ini' with open('example.ini', 'wb') as configfile: parser.write(configfile)