Need to put python.exe in PATH environment variable

  • Thread starter Thread starter Jack Crane
  • Start date Start date
J

Jack Crane

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

Thanks,
 
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.
 
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
 
Back
Top