title: Python: Efficiently gathering values from several objects into list or similiar
body: <p>I am writing a script in python that is accessing a result database from an engineering software. It consists of several objects, each consisting of ID, type, results etc.</p>
  
  <p>They are all accessed in the following manner:</p>
  
  <pre><code>object.values[i].ID
  object.values[i].result
  etc.
  </code></pre>
  
  <p>The question is, is it possible to extract the ID and result and put them into two lists in a more efficient way than to loop through the entire object with a for-loop.</p>
  
  <p>Is this a standardized object of some sort?</p>