I'm trying to use python for scripting on 123-reg.co.uk and the host has no tutorials available. Does anyone have any examples?

closed as too broad by Simon Hayter May 17 '15 at 9:26

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.


Nevermind, I got it working.


#!/usr/bin/env python
import cgitb
import cgi


Options +ExecCGI
AddHandler cgi-script .py

Set execute on test.py by chmod 755

Not the answer you're looking for? Browse other questions tagged or ask your own question.