title: display an object's attributes in python
body: <p>I would like to display the attributes of a give object and was wondering if there was a python function for it.
  For example if I had an object from the following class:</p>
  
  <pre><code>class Antibody():
  
      def __init__(self,toSend):
  
          self.raw = toSend
          self.pdbcode = ''
          self.year = ''
  </code></pre>
  
  <p>Could I get an output that looks something like this or something similar:</p>
  
  <pre><code>['self.raw','self.pdbcode','self.year']
  </code></pre>
  
  <p>thanks</p>