title: Python - "Struct arrays"
body: <p>I'd like to have a struct for every line I find in a text file. (So yeah, basically I want to define my struct, then count lines, and fill up my structs.)  </p>
  
  <p>In C++, C# it's fine. But I'm always lost in Python.  </p>
  
  <p>My structs would look like:  </p>
  
  <pre><code>struct[0].name = "foo"  
  struct[0].place = "Shop"  
  
  struct[1].name = "bar"  
  struct[1].place = "Home"  
  </code></pre>
  
  <p>And so on.<br>
  (Sorry for the lame question, hope other newbies (like me) will find it useful.)  </p>
  
  <p><em>Of course, feel free to edit the question (title) to reflect the real thing.</em></p>