title: Defining a Python class with lots of attributes - style
body: <p>I have a class with a number of attributes. Could someone please clarify the differences between setting attributes like a,b,c below and x,y,z. I understand that if you arguments to come in they obviously must be in the <strong>init</strong>, however, just for setting a number default variables, which is preferred and what are the pros and cons.</p>
  
  <pre><code>class Foo(object):
      a = 'Hello'
      b = 1
      c = False
      def __init__(self):
          self.x = 'World'
          self.y = 2
          self.z = True
  </code></pre>