[Python-Dev] Add python.exe to PATH environment variable
Greg 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