CGI Scripting
CGI Example
#!/usr/local/bin/python print "Content-type: text/html\n" print "<h1>Hello World</h1>
Problem
To do anything useful, have to receive and decode "query string" from server
Which is tedious
The cgi module
Provides a variety of functions for writing CGI programs.
Reading data.
Decoding query strings
Getting header information.
<<<
O'Reilly OSCON 2000, Advanced Python Programming, Slide 98
July 17, 2000, beazley@cs.uchicago.edu
>>>