CGI question

John D. Boy info at
Tue Sep 17 14:04:15 EDT 2002

Hello there!

I am working on a simple CGI script to use as a framework for a website
of mine. Basically, I want it to work as follows: When somebody accesses
the site, a CGI (called e.g. is run. It takes an html-template
and fills it with content from another file, called e.g. index.dat, and
returns the completed html-document. When I want to present another
page, I want the url to look like this: In
that case, would fill the same template with the content of a
file called e.g. page.dat. 

Now, my problem is to find out what follows behind the question mark in
my CGI script. Unless the key has a value
(, it is not in the cgi.FieldStorage
dictionary. Is it simply impossible, or am I not using the right
function calls? 

Any help is appreciated.

John D. Boy                               "Information Superhighway" is 
email      <mailto:info at>       just an anagram for "I'm on 
hypertext  <>       a huge wispy rhino fart."

More information about the Python-list mailing list