title: Quick way to convert all instance variables in a class, to a list (Python)
body: <p>I have created a class with around 100+ instance variables (as it will be used in a function to do something else). </p>
  
  <p>Is there a way to translate all the instance variables; into an array list. Without manually appending each instance variable. </p>
  
  <p>For instance:</p>
  
  <pre><code>class CreateHouse(object):
      self.name = "Foobar"
      self.title = "FooBarTest"
      self.value = "FooBarValue"
      # ...
      # ...
      # (100 more instance variables) 
  </code></pre>
  
  <p>Is there a quicker way to append all these items to a list: 
  Quicker than:</p>
  
  <pre><code>theList = []
  
  theList.append(self.name)
  theList.append(self.title)
  theList.append(self.value)
  # ... (x100 elements)
  </code></pre>
  
  <p>The list would be used to perform another task, in another class/method. </p>