Newbie want Python CGI on Mac OS X10.2

Mel Bohince melbohince at attbi.com
Thu Oct 31 12:16:39 EST 2002


Gustavo,
> From: sismex01 at hebmex.com
> Does your script have executable permissions?
> e.g.: chmod 755 simple.py
> so that it can be executed.


yes, I think, I did the chmod 755 on it.

I'm suspicious of the first line:
#!/usr/lib/python  I've tried #!/usr/lib/ python, #!/usr/bin/python,
#!/usr/bin/env python

what exactly is this to be?


-:  -:  -:  -: -:  -:  -:  -:    \|/
  -:  -:  -:  -: -:  -:  -:  -:  cU
Mel Bohince
Pjt Mgr, 
Arkay Packaging Corporation
melbohince at att.net
http://home.att.net/~melbohince/




More information about the Python-list mailing list