# Demonstrates a basic class and object class Critter(object): """A virtual pet""" def talk(self): print "Hi. I'm an instance of class Critter."# maincrit = Critter()crit.talk()