Running Python scripts in a browser
- by sunwukung
I want to start learning Python - and I'm having trouble getting scripts to load up in a browser (using Wamp). So far I've tried the following:
1: add the following lines to httpd.conf:
AddHandler cgi-script .py
Options ExecCGI
I navigate to
localhost/path/to/script/myscript.py
but get an Internal Server error.
2: downloaded…