An Intro to
Programming
with Python

Fall 2006
course
navigation

nov 27

object inheritence

class Parent: def say_hello(self): print "Hi there" class Child(Parent): """gets all methods from Parent""" bob = Child() bob.say_hello()
See inheritence_demo.py, attached.

CGI

Here are some links to read about HTML, CGI, and how python can connect the two. Googling 'CGI', 'HTML', 'python', and 'tutorial' in various combinations will find lots of sites that discuss these topics.
http://cs.marlboro.edu/ courses/ fall2006/python/ notes/ nov_27
last modified Monday November 27 2006 1:34 pm EST

attachments [paper clip]

     name last modified size
   inheritence_demo.py Nov 27 2006 10:11 am 4.27kB