title: Update field with ConfigParser -Python-
body: <p>I thought that the <strong>set</strong> method of <strong>ConfigParser</strong> module updates the field given, but, it seems that the change remains only in memory and doesn't get into the config file. Is it a normal behaviour?</p>
  
  <p>I have also tried the <strong>write</strong> method, but what I got was another replicated section which by so far is not what I want.</p>
  
  <p>Here is a specimen which represents what I'm doing:</p>
  
  <pre><code>import sys
  import ConfigParser 
  
     if __name__=='__main__':    
     cfg=ConfigParser.ConfigParser()
     path='./../whatever.cfg/..'
     c=cfg.read(path)
     print cfg.get('fan','enabled')
     cfg.set('fan','enabled','False')       
     c=cfg.read(path)
     print cfg.get('fan','enabled')
  </code></pre>