title: Python: ConfigParser.NoSectionError: No section: 'TestInformation'
body: <p>I am getting ConfigParser.NoSectionError: No section: 'TestInformation' error using the above code.</p>
  
  <pre><code>def LoadTestInformation(self):        
      config = ConfigParser.ConfigParser()    
      print(os.path.join(os.getcwd(),'App.cfg'))
  
      with open(os.path.join(os.getcwd(),'App.cfg'),'r') as configfile:       
          config.read(configfile)
          return config.items('TestInformation')
  </code></pre>
  
  <p>The file path is correct, I have double checked. and the config file has TestInformation section </p>
  
  <pre><code>[TestInformation]
  
  IEPath = 'C:\Program Files\Internet Explorer\iexplore.exe'
  
  URL = 'www.google.com.au'
  
  '''date format should be '&lt;Day&gt; &lt;Full Month&gt; &lt;Full Year&gt;'
  
  SystemDate = '30 April 2013'
  </code></pre>
  
  <p>in a app.cfg file. Not sure what I am doing wrong</p>