Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #29553

Re: Passing arguments to & executing, a python script on a remote machine from a python script on local machine (using ssh ?)

From Emile van Sebille <emile@fenx.com>
Subject Re: Passing arguments to & executing, a python script on a remote machine from a python script on local machine (using ssh ?)
Date 2012-09-20 07:50 -0700
References <10db83e4-80eb-4265-b11c-062269fea1b0@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.959.1348152551.27098.python-list@python.org> (permalink)

Show all headers | View raw


On 9/19/2012 12:50 PM ashish said...
> Hi c.l.p folks
>
> Here is my situation
>
> 1. I have two machines. Lets call them 'local' & 'remote'.
> Both run ubuntu & both have python installed
>
> 2. I have a python script, local.py, running on 'local' which needs to pass arguments ( 3/4 string arguments, containing whitespaces like spaces, etc ) to a python script, remote.py running on 'remote' (the remote machine).
>
> I have the following questions:
>
> 1. What's the best way to accomplish my task ?

Check out http://rpyc.sourceforge.net/ -- It's reasonably lightweight 
and has been working well for our similar situation.

Emile

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Passing arguments to & executing, a python script on a remote machine from a python script on local machine  (using ssh ?) ashish <ashish.makani@gmail.com> - 2012-09-19 12:50 -0700
  Re: Passing arguments to & executing, a python script on a remote machine from a python script on local machine (using ssh ?) Ismael Farfán <sulfurfff@gmail.com> - 2012-09-19 15:29 -0500
    Re: Passing arguments to & executing, a python script on a remote machine from a python script on local machine (using ssh ?) Piet van Oostrum <piet@vanoostrum.org> - 2012-09-20 19:30 +0200
  Re: Passing arguments to & executing, a python script on a remote machine from a python script on local machine  (using ssh ?) Tim Roberts <timr@probo.com> - 2012-09-19 20:51 -0700
  Re: Passing arguments to & executing, a python script on a remote machine from a python script on local machine  (using ssh ?) Emile van Sebille <emile@fenx.com> - 2012-09-20 07:50 -0700
  Re: Passing arguments to & executing, a python script on a remote machine from a python script on local machine (using ssh ?) Chris Rebert <clp2@rebertia.com> - 2012-09-20 09:19 -0700
    Re: Passing arguments to & executing, a python script on a remote machine from a python script on local machine (using ssh ?) Piet van Oostrum <piet@vanoostrum.org> - 2012-09-20 19:45 +0200

csiph-web