Re: Coming from Perl - SOLVED
I V wrote: On Thu, 13 Sep 2007 23:49:32 -0400, Amer Neely wrote: In trying to track down why this script would not run on my host, it has to come to light that Python is installed, however the Apache module is not. So, short story is - I was flogging a dead horse. Which Apache module? You don't need any special modules (just the regular CGI one) to use python in a CGI script. That is an interesting observation. It does run under my Apache + Win2K at home, with no special configuration by me. All I'm going on is what the techs told me. So, you think it may be something else? I've changed and even eliminated the end-of-line chars in my print statements. Another poster (Bryan Olson) has suggested a few things to try as well so I will try those. I don't have shell access though, so the best I can do is execute shell commands from a Perl script. -- Amer Neely w: www.webmechanic.softouch.on.ca/ Perl | MySQL programming for all data entry forms. Others make web sites. We make web sites work! -- http://mail.python.org/mailman/listinfo/python-list
Re: Coming from Perl - SOLVED
On Thu, 13 Sep 2007 23:49:32 -0400, Amer Neely wrote: In trying to track down why this script would not run on my host, it has to come to light that Python is installed, however the Apache module is not. So, short story is - I was flogging a dead horse. Which Apache module? You don't need any special modules (just the regular CGI one) to use python in a CGI script. -- http://mail.python.org/mailman/listinfo/python-list
Re: Coming from Perl - SOLVED
Amer Neely wrote: I'm a complete newbie with Python, but have several years experience with Perl in a web environment. A question I have, if someone here is familiar with Perl, does Python have something like Perl's 'here document'? I've just searched and read some postings on generating HTML but they all seem to refer to various template utilities. Is this the only way, or am I missing something? I'm used to generating X/HTML by hand, which makes the here document in Perl ideal for me. Also, many times a client already existing HTML code that I can use in a script. In trying to track down why this script would not run on my host, it has to come to light that Python is installed, however the Apache module is not. So, short story is - I was flogging a dead horse. Sorry for raising a non-issue folks. -- Amer Neely w: www.webmechanic.softouch.on.ca/ Perl | MySQL programming for all data entry forms. Others make web sites. We make web sites work! -- http://mail.python.org/mailman/listinfo/python-list