title: Convert ConfigParser.items('') to dictionary
body: <p>How can I convert the result of a ConfigParser.items('section') to a dictionary to format a string like here:</p>
  
  <pre><code>import ConfigParser
  
  config = ConfigParser.ConfigParser()
  config.read('conf.ini')
  
  connection_string = ("dbname='%(dbname)s' user='%(dbuser)s' host='%(host)s' "
                       "password='%(password)s' port='%(port)s'")
  
  print connection_string % config.items('db')
  </code></pre>