Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

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!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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