I have a webhost that doesn't allow command line access and yet they say you can run python scripts....how?

link|improve this question

73% accept rate
feedback

1 Answer

up vote 1 down vote accepted

They're probably talking about CGI scripts - what you need to do is write a Python script that generates HTML output and place it in the appropriate directory (usually cgi-bin or some such). Then navigate to this URL and you'll see the output.

This is often used for form processing, but you can do almost anything with it. Here is a short tutorial.

Good luck!

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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