@@ -0,0 +1,320 @@
+%0A# http://stackoverflow.com/questions/11637467/modify-ini-file-with-python/11637494#11637494%0A%0Aimport ConfigParser%0Aconfig=ConfigParser.RawConfigParser()%0Aconfig.read(r'/tmp/gui.cfg')%0Aconfig.set('gui','update_success_tray_report_enabled',r'yes')%0Awith open(r'/tmp/gui.cfg', 'wb') as configfile:%0A    config.write(configfile)%0A

Create edit_ini.py