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.
They are all accessed in the following manner:
object.values[i].ID
object.values[i].result
etc.
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.
Is this a standardized object of some sort?