Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Windows': 0.02; 'scripts': 0.03; 'subject:Python': 0.06; 'subject:installation': 0.07; 'subject:script': 0.09; 'cc:addr:python-list': 0.11; 'martin': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'cc:addr:python.org': 0.22; 'subject:problem': 0.24; 'cc:2**0': 0.24; 'extension': 0.26; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'message-id:@mail.gmail.com': 0.30; 'file': 0.32; 'subject:from': 0.34; 'subject: (': 0.35; 'received:google.com': 0.35; 'pm,': 0.38; 'full': 0.61; 'mar': 0.68; '26,': 0.68; 'to:none': 0.92 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:cc :content-type; bh=0Nuk3Ryy0wennCd4SXsmvHCt5+n8z5z44Qu7Zc+1PXA=; b=AHhuHiQW+08S5EsNZzSxgNhAtjMlX7J+jAvqwrd/8TwHPVG5VEBpLH8UH7R8+Dne9D xTM+sggtU4EYTbUOILI7nTrIjvs/E3kJnDI17iJMpc2X9iamGUKBp29HoSm+qceKNhZB crWp4AeAjdQsRHD3wDlQavkwrK05ixuo8l8bdsEQgm3fM609Z9hwhaFNrMzBnPxafroZ bC5UINw104zcUw3bZC8PoTFVxBoFpuwpqYS1RLc1GYDQhMQD32hQ686ZJVikJefIQCHr iGjQ5E9frTS61UR6/1ptxHZSApqy3ZWbVwWypCYp33yb6hSiucQ+U8FTxibWaZasmND3 z5xw== MIME-Version: 1.0 X-Received: by 10.66.142.201 with SMTP id ry9mr3180108pab.14.1395838442274; Wed, 26 Mar 2014 05:54:02 -0700 (PDT) In-Reply-To: <6ba81449-5f4c-46be-ad4a-64ea8bc5b436@googlegroups.com> References: <4b100198-73d0-4562-89cf-8af9b9b87174@googlegroups.com> <6ba81449-5f4c-46be-ad4a-64ea8bc5b436@googlegroups.com> Date: Wed, 26 Mar 2014 23:54:02 +1100 Subject: Re: calling Python script from another Python script (Windows, multiple installation problem) From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: , Newsgroups: comp.lang.python Message-ID: Lines: 7 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395838445 news.xs4all.nl 2921 [2001:888:2000:d::a6]:45434 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69123 On Wed, Mar 26, 2014 at 11:49 PM, Martin Landa wrote: > # get full path including file extension for scripts > fcmd = get_real_command(args[0]) What's that function do? ChrisA