inkedmn
11-22-2001, 02:07 PM
this is the most basic of questions...
i was told that the reason i can't invoke the interpreter at the command line is because my path isn't set.
how do i do this?
bdg1983
11-22-2001, 10:10 PM
I think it's pretty close to the same as in *NIX, something like "set path="C:\whereever\python\is\"... though I may be mistooken.
ph34r
11-22-2001, 10:25 PM
Either in your autoexec.bat file (for Win9x/ME) or in your evironment info (for NT/2k/XP), which is available by right clicking on "my computer" and then picking either properties or manage.
To do it in your autoexec.bat, you need a line like
path=%path%;c:\python\bin
or wherever python is. If there is a space in the file name (like if it is in Program Files), either figure out the DOS name (progra~1) or put "'s around it "c:\Program Files\Python"