Making Python scripts work on MAMP

Posted by Ravi Teja on Stack Overflow See other posts from Stack Overflow or by Ravi Teja
Published on 2011-02-09T14:59:43Z Indexed on 2011/02/09 15:25 UTC
Read the original article Hit count: 384

Hello All Python Pro's ,

I'm using mamp server for testing out all my web pages. I'm new to python. I'm able to run a script in python interpreter that will normally print a hello world.

print "Hello World!"   

So i used the same line in a file with name test.py . So how should I run this on web.

As am new to python, i tried some normal things, placing test.py in /htdocs/cgi-bin/ and trying to open it. But it says forbidden page.

Anyone please help me making this work. Thanks

© Stack Overflow or respective owner

Related posts about python

Related posts about web-development