INITIALIZING A CLASS INSTANCES

class B:
  title = None
  def __init__(self, title=''):
    self.title = title
  def foo(self):
    pass

b = B('hello')
print b.title