Where can I host my Python script?

How do you serve a python script via telnet/ssh?

  • I have a python script that gets raw_input and prints some information. How can I host this so that I can ssh/telnet to the computer running it and run the python script? eg. when I do "telnet hostname" I will be prompted for some input and when I enter it I will get feedback. I am having problems setting up the server though. How would this be implemented with python? Thank you.

  • Answer:

    $ ssh hostname $ python ./path/to/script

Theo J at Yahoo! Answers Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.