[Tutor] Win 2k "pro" environment -or- Out of coffe and ready
for some help
Wed, 6 Sep 2000 10:52:09 -0700 (PDT)
On Wed, 6 Sep 2000, Phillip Ross wrote:
> I would love to have someone spoon feed me the steps for getting Microsoft's
> cmd shell to "see" python. I can't seem to get it to run even though...
> 1) I know where Python lives... c:\python16
> 2) I know where the control panel for environment settings are. (although I
> am not sure how to set them so python can be run from the MS cmd line.) :P
Ok, you'll want to get to the environment settings window. You'll see two
large textfields, one for system environment variable, and the other for
user environment variables.
The environment variable you'll touch is PATH --- Windows searches the
directories in PATH whenever you enter a command through the cmd window.
It's probably best to edit the PATH variable for the system environment.
(I think that you'll need to be an Administrator account to do this.)
Append to the end of the PATH variable:
[bunch of other path statements];C:\Python16
Afterwards, apply your settings, save, and see if a newly-opened command
prompt allows you to call Python from any directory. If that works, you
should be all set up.