title: Change value in ini file using ConfigParser Python
body: <p>So, I have this settings.ini :</p>
  
  <pre><code>[SETTINGS]
  
  value = 1
  </code></pre>
  
  <p>And this python script</p>
  
  <pre><code>from ConfigParser import SafeConfigParser
  
  parser = SafeConfigParser()
  parser.read('settings.ini')
  
  print parser.get('SETTINGS', 'value')
  </code></pre>
  
  <p>As you can see, I want to read and then replace the value "1" by another one. All I was able to do so far is to read it. I searched on the net how to replace it but I didn't find.</p>