Python ConfigParser Name
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/10654461/python-configparser-question">Python ConfigParser Question</a>  </p>
</blockquote>



<p>Does the Config file for the ConfigParser have to be named "Config.ini" in order to work?</p>

<p>I want the name to be "1Config.ini" so that it appears at the top of a folder dir.</p>

<p>This is what I have currently</p>

<pre><code>config = ConfigParser.ConfigParser()
config.read(Revision[0:Revision.rfind('\\')] + "\1Config.ini")
Type = config.get("myvars", "Type")
</code></pre>

<p>I get this error however when the file and code is named "1Config.ini"</p>

<pre><code>&lt;class 'ConfigParser.NoSectionError'&gt;: No section: 'myvars'
</code></pre>
