title: Read config file in python
body: <p>I would like to read following config file having IPs defined for workers and managers. I tried configparser module but it requires key-value pairs. Anyone has any idea to read the below file using python, I would be thankful.   </p>
  
  <pre class="lang-none prettyprint-override"><code>[managers]
  1.2.3.4
  [workers]
  2.3.45.5
  3.5.6.7
  5.7.8.9
  </code></pre>
  
  <p>File may have random number of IPs.</p>