Help Setting PATH w/Python and Win98
j.a. bijsterbosch
j.bijsterbosch at hccnet.nl
Mon Mar 18 04:35:46 EST 2002
Hello Al,
"Al" <shareselect at hotmail.com> schreef in bericht
news:b8245cf2.0203160920.2fe59c7b at posting.google.com...
> Hi
>
> I am new to programming and am currently doing a Python Tutorial at
> http://softwaredev.earthweb.com/sdopen/article/0,,12382_626311,00.html
>
> On that page it says I must set the path in Windows to the directory
> where the Python.exe is located so that I can execute Python script.
> I can get around DOS a bit to do this but not sure how to do it
> exactly. Could someone tell me what I must do?
Hmm, beiing a beginner with Python too, I had the same problem getting
things organised after installation on the W98se platform. A look in the faq
however did give a solution, overlooked in the accompagning tutorial. (at
least I didn't find it<g>)
Create the following line in your autoexec.bat and reboot your system.
SET PYTHONPATH=D:\Python21;D:\Python21\Lib;D:\Python21\Scripts
Obviously you have to change some, to point to your used root
directory/folder...
Hope this helps...;-))
> Al
--
Greetings from rainy Amsterdam
Jan
email: bijster at worldonline.nl
http://home.worldonline.nl/~bijster
More information about the Python-list
mailing list