Passing arguments to & executing, a python script on a remote machine from a python script on local machine

ashish ashish.makani at gmail.com
Thu Sep 20 03:28:26 EDT 2012


On Thursday, September 20, 2012 10:39:28 AM UTC+5:30, Chris Angelico wrote:
> On Thu, Sep 20, 2012 at 2:27 PM, Steven D'Aprano
> 
> <steve+comp.lang.python at pearwood.info> wrote:
> 
> > On Wed, 19 Sep 2012 12:46:33 -0700, ashish wrote:
> 
> >
> 
> >> 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).
> 
> >
> 
> > If 3/4 of the arguments are strings, what sort of objects are the other
> 
> > 1/4?

Sorry for the confusion Steven.
There are 3 or 4 arguments, all of which are strings.

> 
> 
> 
> I understand the OP as meaning "three or four string arguments".

Yup, that's what i meant.
> 
> 
> 
> ChrisA



More information about the Python-list mailing list