Re: [Tutor] CGI Tutorial

2005-06-27 Thread Danny Yoo
On Mon, 27 Jun 2005, Gooch, John wrote: > 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

[Tutor] CGI Tutorial

2005-06-27 Thread Gooch, John
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 exist