[Tutor] CGI Tutorial
John.Gooch at echostar.com
Mon Jun 27 21:38:50 CEST 2005
Are there any tutorials on the Python CGI module? I think I found enough
fragments to get form data, but I need a way for the Python script to tell
whether it is being run in a web server environment or from the command
line. What I am thinking is testing for an environment variable that only
exists in the CGI environment, but not in a command shell.
Any ideas on how to do this? The web environment is Windows 2000 OS with IIS
6.0 and Python 2.4.
John A. Gooch
IT - Tools
EchoStar Satellite L.L.C.
9601 S. Meridian Blvd.
Englewood, CO 80112
More information about the Tutor