I use the mamp server to test all my web pages. I am new to python. I can run the script in the python interpreter, which usually prints the hello world.
print "Hello World!"
So, I used the same line in a file called test.py. So, how should I run this on the Internet.
As I wrote in python, I tried some common things by putting test.py in / htdocs / cgi-bin / and trying to open it. But this speaks of a forbidden page.
Someone please help me do this work. Thanks
python web-applications mod-python
RaviTeja
source share