Search results

  1. B

    Python

    Hi everybody, I have problems with python. I would like to seek for help and advice. Here is my code below: #!/usr/bin/python #!/usr/bin/env python print "Content-type: text/plain\n\n" def hi(): print "hello" I would like to call the function hi() using...
  2. B

    Problem on Python Class File

    Hi all, I got a problem running python class file. It gives me an error 500 Internal Server Error. The link of my file is http://sllib.x10hosting.com/sl_py/Address.py I am able to run the source code file at my local computer using ActiveState ActivePython 2.6. Here is my code as below...
  3. B

    How to add Python to Apache handler?

    Do I need to upload mod_python before adding to apache handler? Where should I upload to? There are two text box: Handler and extension(s). I try to put "mod_python" as my handler and ".py" as my extension(s), but still doesn't work. Or without uploading mod_python, can i run my .py files...
Top