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


Groups > comp.lang.python > #29540

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!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'arguments': 0.07; 'python': 0.09; 'arguments,': 0.09; 'script,': 0.09; 'sep': 0.09; 'subject:script': 0.09; 'whitespaces': 0.09; 'subject:python': 0.11; '(the': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject: \n ': 0.16; 'wed,': 0.16; 'string': 0.17; 'wrote:': 0.17; 'thu,': 0.17; 'sort': 0.21; 'pass': 0.25; 'header:In-Reply-To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; '-0700,': 0.29; "d'aprano": 0.29; 'steven': 0.29; 'strings,': 0.29; 'objects': 0.29; 'running': 0.32; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'pm,': 0.35; 'remote': 0.35; 'received:209.85': 0.35; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'subject:, ': 0.61; 'containing': 0.61; '20,': 0.65; 'subject: & ': 0.67
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=HjtXMBOhgLgbtcbHhORGtrJw3RuDw7GmZ1XeUrlVhXQ=; b=zVOTulmygvGPob4+kL2qsUtotvoJRhc3zrJ0JK/YILZ5mz2MGN0IQ/nujtJitnIUvd YVsAEGBCLKQKRNGG9h7Umenu1AR/X3wC+KGy2wSOXtX4qw5nx9v+ZcqK3vdu/EUjpNm9 M6pIfSFYRAeoLqlGn1sEGBFNdxFpYCKpZswy5IE3sEpz9JHRodMfgBycGEVSxmr93OVT wQF9ZHTgb3gt0k75YQPPEg9B6+lKiKLQr7A5J/LI09KwkgftQBgtYkTJwDFSBXYT3y10 rkNdcNtqEYDSCnErlJ0MHY7f+driZBqCYNc5616drzvdm7PnjsSmSO6+BP8qe4kUVKpL eWSA==
MIME-Version 1.0
In-Reply-To <505a9b22$0$29890$c3e8da3$5496439d@news.astraweb.com>
References <5a8a09f8-db4c-4f1d-ae8e-a5c848903c68@googlegroups.com> <505a9b22$0$29890$c3e8da3$5496439d@news.astraweb.com>
Date Thu, 20 Sep 2012 15:09:18 +1000
Subject Re: Passing arguments to & executing, a python script on a remote machine from a python script on local machine
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
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>
Newsgroups comp.lang.python
Message-ID <mailman.951.1348117767.27098.python-list@python.org> (permalink)
Lines 15
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1348117767 news.xs4all.nl 6886 [2001:888:2000:d::a6]:52479
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:29540

Show key headers only | View raw


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?

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

ChrisA

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