PDA

View Full Version : Python on Bluehost



WRM
02-19-2006, 11:21 PM
I'm curious how Python works on Bluehost. I tried making a python file both in the public directory and in the CGI-Bin and it didn't work. I tried adding #!/usr/bin/env -python, #!/usr/bin/python, and just skipping the include path and it still didn't work.

macgyver2
02-20-2006, 07:25 AM
I'm curious how Python works on Bluehost. I tried making a python file both in the public directory and in the CGI-Bin and it didn't work. I tried adding #!/usr/bin/env -python, #!/usr/bin/python, and just skipping the include path and it still didn't work.
Is your script executable? Do
chmod +x <script> and then try to run it.