# Demonstrates a basic class and object class Critter(object): """A virtual pet""" def __init__(self): print "hello" def notused(self): print 'blah' def talk(self): print "Hi. I'm an instance of class Critter." class Animal(object) def move(self): print 'moving' # main crit = Critter() crit.talk() crit.notused()