Need to put python.exe in PATH environment variable

J

Jack Crane

I need to put "python.exe" in PATH environment variable. How to do this in
Win XP?

Thanks,
 
T

Tom Porterfield

Jack said:
I need to put "python.exe" in PATH environment variable. How to do this in
Win XP?

You can't put the exe name in the PATH variable. You can put the
directory that contains python.exe in the PATH variable. To do that,
find the directory that contains python.exe. Once you have that noted,
right click on My Computer and select Properties. Go to the Advanced
tab and click the Environment Variables button. In the list of System
variables, scroll down until you find the variable named Path. Double
click on it to edit. Position the mouse cursor at the end of the
current value. If there isn't a semi-colon at the end, add a
semi-colon. Following the semi-colon enter the name of the directory
that contains python.exe. Once you are done, click OK, OK and OK.
Depending on what process needs the directory for python.exe in the
path, you may need to reboot for the change to be picked up.
--
Tom Porterfield
MS-MVP Windows
http://support.telop.org

Please post all follow-ups to the newsgroup only.
 
J

Jack Crane

You can't put the exe name in the PATH variable. You can put the
directory that contains python.exe in the PATH variable. To do that,
find the directory that contains python.exe. Once you have that
noted, right click on My Computer and select Properties. Go to the
Advanced tab and click the Environment Variables button. In the list
of System variables, scroll down until you find the variable named
Path. Double click on it to edit. Position the mouse cursor at the
end of the current value. If there isn't a semi-colon at the end, add
a semi-colon. Following the semi-colon enter the name of the
directory that contains python.exe. Once you are done, click OK, OK
and OK. Depending on what process needs the directory for python.exe
in the path, you may need to reboot for the change to be picked up.

Thanks very much.

Jack
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top