title: Is there a Python package to parse readable data files with sections
body: <p>I am looking for a method to parse readable (i.e., not binary) data files with sections.</p>
  
  <p>I had been using ConfigObj to read config files (INI files?), but I ran into a problem with multi-line lists. Specifically, ConfigObj does not allow list members to contain carriage returns. In other words, the following fails to parse:</p>
  
  <pre><code>[section]
  data = [(1, 0.1),
          (2, 0.2),
          (3, 0.3)]
  </code></pre>
  
  <p>Removing the carriage returns fixes the problem</p>
  
  <pre><code>[section]
  data = [(1, 0.1), (2, 0.2), (3, 0.3)]
  </code></pre>
  
  <p>Obviously, I could just use this simple fix, but the readability suffers significantly when the data extends beyond a single line. Is there an alternate config-file parser that would work here?</p>
  
  <p>Alternatively, are there parsers for csv files with sections? For example, something that could parse</p>
  
  <pre><code>[data1]
  1, 0.1
  2, 0.2
  3, 0.3
  
  [data2]
  1, 0.1
  2, 0.2
  3, 0.3
  </code></pre>
  
  <p>I considered JSON files but I wasn't quite happy with the look of the data files.</p>
  
  <p>NOTE: the 1, 2, 3 columns are just for illustration: it is not my intent to save row numbers.</p>