def get(self): page = Page()# Instantiate Page() dog = Canis()# creating instance of dog sub class dog.name = 'Yorkshire Terrier' horse = Equus()#creating an instance of horse sub class horse.name = 'Horse' raccoon = Procyon()#creating an instance of raccoon sub class raccoon.name = 'Raccoon' animals = [dog, horse, raccoon]#array of animals #displays the html page and displays the appropriate info for the requested animal self.response.write(page.header()) self.response.write(page.form()) if self.request.GET: animal = (int(self.request.GET['animal']))-1 print animal self.response.write(page.template(animals[animal])) self.response.write(page.footer())