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


Groups > comp.lang.python > #96906

Re: Python 2.7 Configuration

Path csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!news.roellig-ltd.de!open-news-network.org!border2.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost1.xs4all.net!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; 'subject:Python': 0.05; 'scripts': 0.09; 'message-id:@4ax.com': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'scripts,': 0.09; 'subject:2.7': 0.09; 'python': 0.10; '2.7': 0.13; 'interpreter': 0.15; '"import"': 0.16; '"python': 0.16; '>that': 0.16; '>to': 0.16; 'executable,': 0.16; 'menu.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'directory.': 0.18; 'script.': 0.18; 'url:home': 0.18; 'gui': 0.18; 'variable': 0.18; '2015': 0.20; 'sep': 0.22; 'plain': 0.24; 'script': 0.25; 'install': 0.25; 'command': 0.26; 'header:X-Complaints-To:1': 0.26; 'specify': 0.27; 'regular': 0.29; 'environment': 0.29; 'folder': 0.30; 'putting': 0.30; 'another': 0.32; 'run': 0.33; 'idle': 0.33; 'open': 0.33; 'running': 0.34; 'path': 0.35; 'but': 0.36; 'should': 0.36; 'modules': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'charset:us-ascii': 0.37; 'files': 0.38; 'does': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'skip:u 10': 0.61; 'reach': 0.61; 'within': 0.64; 'prompt': 0.79; 'dennis': 0.91; 'navigate': 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: Python 2.7 Configuration
Date Sun, 20 Sep 2015 20:30:06 -0400
Organization IISS Elusive Unicorn
References <BLU436-SMTP377E882129A70B4814C9329A470@phx.gbl>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host adsl-108-68-178-61.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.20+
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.15.1442795707.28679.python-list@python.org> (permalink)
Lines 25
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1442795707 news.xs4all.nl 23758 [2001:888:2000:d::a6]:58891
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:96906

Show key headers only | View raw


On Sun, 20 Sep 2015 13:13:22 -0400, Ward Kingkade <ward_kingkade@msn.com>
declaimed the following:

>I hold my scripts in another directory that is parallel to but not under the
>one where Python 2.7 resides, so I set the Environment Variable PYTHONPATH

	PYTHONPATH	is used to specify where the Python interpreter will look
for "import" modules from within a running Python script.
	
>to include the directory where my scripts reside.  Unfortunately, I am
>unable to reach them in either the IDLE GUI or the "Python command line" in
>that folder in my start menu.  The only way I have managed to run Python
>scripts is to open an ordinary command prompt from Accessories, navigate to
>the directory with the scripts, and run python from the command prompt in
>that directory.

	If the install (I have always used the ActiveState installs so don't
know what plain Python does on Windows) has set up the environment such
that ".py" files are executable, then putting the script directory on the
regular system PATH should let you run them by entering their name in a
command shell.
-- 
	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: Python 2.7 Configuration Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-09-20 20:30 -0400

csiph-web