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: 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: 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> 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: 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 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 > > 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