A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-September/082162.html below:

[Python-Dev] Add python.exe to PATH environment variable

[Python-Dev] Add python.exe to PATH environment variable [Python-Dev] Add python.exe to PATH environment variableGreg Ewing greg.ewing at canterbury.ac.nz
Wed Sep 3 03:45:48 CEST 2008
Terry Reedy wrote:

> An alternative to manipulating PATH would be to make and add to the 
> Start Menu a Command Prompt shortcut, call it Command Window or 
> something, that starts in the Python directory.

That doesn't seem very satisfactory, because the user
is going to want to work in the directory containing
his script, or the data he wants to run the script on.

A better way would be to start a command process with
the Python directory added to PATH just for that
process.

How easy would that be to do on Windows? Do environment
variables get inherited by child processes the way
they do on Unix?

-- 
Greg
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4