title: List attributes of an object
body: <p>Is there a way to grab a list of attributes that exist on instances of a class?</p>
  
  <pre><code>class new_class():
      def __init__(self, number):
          self.multi = int(number) * 2
          self.str = str(number)
  
  a = new_class(2)
  print(', '.join(a.SOMETHING))
  </code></pre>
  
  <p>The desired result is that "multi, str" will be output.  I want this to see the current attributes from various parts of a script.</p>