title: ConfigParser vs. import config
body: <p><a href="http://docs.python.org/library/configparser.html" rel="noreferrer">ConfigParser</a> is the <a href="http://wiki.python.org/moin/ConfigParserShootout" rel="noreferrer">much debated</a> vanilla configuration parser for Python.<br>
  However you can simply <code>import config</code> where <code>config.py</code> has python code which sets configuration parameters.</p>
  
  <p>What are the pros\cons of these two approaches of configuration?
  When should I choose each?</p>