The class is the template, and the object is what gets built from that template.
class Dog(object): pass
d = Dog() print d
The constructor gets called when a new object is created.
class Dog(object): def __init__(self): print "I'm in the constructor!" d = Dog()
class Dog(object): def __init__(self, name): self.name = name d = Dog("snowy") print d.name
class Dog(object): def bark(self): print "woof! woof!" d = Dog() d.bark()
class ListItem(object): def __init__(self, value): self.value = value