newbie simple exec problems

Matthew Barre mbarre at
Wed Mar 8 00:44:46 CET 2000

I have been learning python on my mac, and I just setup a RH6.1 box on my
little LAN to practice Python as a cgi tool etc. Well the cgi thing has me
completely baffled and right now I can't even get a Hello World script to
run at the prompt ie:

bash:unrecognized command

I have tried chmod 0755 and
chmod a+x

The first line of the file is

which is where I checked and that's where python is. I'm baffled. Right now
if I try to get a cgi the browser just prints the script...ack...what am I
doing wrong?

"Ray! When someone asks you if you're a god, you say YES!!" -Winston Zedmore

More information about the Python-list mailing list