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


Groups > comp.lang.python > #96906 > unrolled thread

Re: Python 2.7 Configuration

Started byDennis Lee Bieber <wlfraed@ix.netcom.com>
First post2015-09-20 20:30 -0400
Last post2015-09-20 20:30 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Python 2.7 Configuration Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-09-20 20:30 -0400

#96906 — Re: Python 2.7 Configuration

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2015-09-20 20:30 -0400
SubjectRe: Python 2.7 Configuration
Message-ID<mailman.15.1442795707.28679.python-list@python.org>
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/

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web