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


Groups > comp.lang.python > #29544

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

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <ashish.makani@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'arguments': 0.07; 'strings.': 0.07; 'python': 0.09; 'arguments,': 0.09; 'script,': 0.09; 'sep': 0.09; 'subject:script': 0.09; 'to:addr:comp.lang.python': 0.09; 'whitespaces': 0.09; 'cc:addr :python-list': 0.10; 'subject:python': 0.11; '(the': 0.15; 'confusion': 0.16; 'subject: \n ': 0.16; 'yup,': 0.16; 'wed,': 0.16; 'string': 0.17; 'wrote:': 0.17; 'thu,': 0.17; 'sort': 0.21; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'pass': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'chris': 0.28; '-0700,': 0.29; "d'aprano": 0.29; 'steven': 0.29; 'strings,': 0.29; 'objects': 0.29; 'thursday,': 0.30; 'running': 0.32; 'received:google.com': 0.34; 'pm,': 0.35; 'remote': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'received:209': 0.37; 'subject:: ': 0.38; 'subject:, ': 0.61; 'containing': 0.61; '20,': 0.65; 'subject: & ': 0.67
Newsgroups comp.lang.python
Date Thu, 20 Sep 2012 00:28:26 -0700 (PDT)
In-Reply-To <mailman.951.1348117767.27098.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=180.149.52.166; posting-account=rZmIWAoAAABDgPTcoYW05FOcBhdjF8dj
References <5a8a09f8-db4c-4f1d-ae8e-a5c848903c68@googlegroups.com> <505a9b22$0$29890$c3e8da3$5496439d@news.astraweb.com> <mailman.951.1348117767.27098.python-list@python.org>
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-IP 180.149.52.166
MIME-Version 1.0
Subject Re: Passing arguments to & executing, a python script on a remote machine from a python script on local machine
From ashish <ashish.makani@gmail.com>
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Message-ID <mailman.953.1348126115.27098.python-list@python.org> (permalink)
Lines 36
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1348126115 news.xs4all.nl 6939 [2001:888:2000:d::a6]:40492
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:29544

Show key headers only | View raw


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@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

Back to comp.lang.python | Previous | NextPrevious 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 ashish <ashish.makani@gmail.com> - 2012-09-19 12:46 -0700
  Re: Passing arguments to & executing, a python script on a remote machine from a python script on local machine Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-09-20 04:27 +0000
    Re: Passing arguments to & executing, a python script on a remote machine from a python script on local machine Chris Angelico <rosuav@gmail.com> - 2012-09-20 15:09 +1000
      Re: Passing arguments to & executing, a python script on a remote machine from a python script on local machine ashish <ashish.makani@gmail.com> - 2012-09-20 00:28 -0700
      Re: Passing arguments to & executing, a python script on a remote machine from a python script on local machine ashish <ashish.makani@gmail.com> - 2012-09-20 00:28 -0700

csiph-web