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


Groups > comp.lang.python > #83133

Re: Command Line Inputs from Windows

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'subject:Windows': 0.02; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'jan': 0.12; 'windows': 0.15; '>the': 0.16; 'be:': 0.16; 'example).': 0.16; 'invocation': 0.16; 'message-id:@4ax.com': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:Line': 0.16; 'variable': 0.18; 'command': 0.22; 'admin': 0.22; 'directory.': 0.24; 'url:home': 0.24; 'looks': 0.24; 'environment': 0.24; 'script': 0.25; 'extension': 0.26; 'header:X-Complaints-To:1': 0.27; 'point': 0.28; 'on,': 0.29; '-0700,': 0.31; 'keys': 0.31; 'fri,': 0.33; "i'd": 0.34; 'subject:from': 0.34; 'there': 0.35; 'version': 0.36; 'doing': 0.36; 'charset:us-ascii': 0.36; 'possible': 0.36; 'half': 0.37; 'starting': 0.37; 'to:addr:python- list': 0.38; 'anything': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'skip:u 10': 0.60; 'matter': 0.61; 'more': 0.64; '2015': 0.84; 'dozen': 0.91; 'received:108': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: Command Line Inputs from Windows
Date Fri, 02 Jan 2015 16:30:28 -0500
Organization IISS Elusive Unicorn
References <COL130-DS1607D96864155F77FE9C11C85D0@phx.gbl>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host adsl-108-79-219-142.dsl.klmzmi.sbcglobal.net
X-Newsreader Forte Agent 6.00/32.1186
X-No-Archive YES
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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.17335.1420234238.18130.python-list@python.org> (permalink)
Lines 22
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1420234238 news.xs4all.nl 2850 [2001:888:2000:d::a6]:40383
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:83133

Show key headers only | View raw


On Fri, 2 Jan 2015 12:44:55 -0700, "Ken Stewart"
<gordon_ken_stewart@msn.com> declaimed the following:

>
>The Windows PATH environment variable contains the path to Python, as well 
>as the path to the Script directory.  The PATHEXT environment variable 
>contains the Python extension (.py).
>
	Unfortunately, this is more a matter of the registry -- and there are
half a dozen possible registry keys that may exist depending upon which
version of Python had been installed, which OS it is on, and whether as
admin or local user...

	A starting point may be:
http://stackoverflow.com/questions/2640971/windows-is-not-passing-command-line-arguments-to-python-programs-executed-from-t

though I'd recommend doing a registry search for anything that looks like a
Python command line invocation (mine were under Python.File for example).
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Command Line Inputs from Windows Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-01-02 16:30 -0500

csiph-web