title: Best way to import a configuration file which contains multiple sets of multiline data in Python?
body: <p>I'm trying to import a file that has multiple variables within it, each variable containing anywhere from 1 entry to about a hundred. so something like this:</p>
  
  <pre><code>[info]
  name = Jon
  number = 2
  multiple_num = 
  5
  2
  4
  65
  78
  45
  </code></pre>
  
  <p>I've formatted this as an .ini file and used ConfigParser to read it in, however, unless I have the multiline values indented, ConfigParser gives me errors. So the above snippit of code will give me errors, yet this one will be fine. </p>
  
  <pre><code>[info]
  name = Jon
  number = 2
  multiple_num = 
      5
      2
      4
      65
      78
      45
  </code></pre>
  
  <p>Is there a better way to do this that doesn't involve the user hand indenting every single line? Like I said, the data within some of the variables, while not enormous, would still be long enough to get annoying. Am I going about this the complete wrong way? Any help is appreciated! </p>
  
  <p>Thanks,</p>
  
  <p>Tyler</p>