Newbie question

Robert Kern kern at caltech.edu
Tue Sep 26 14:53:10 EDT 2000


In article <mailman.969973540.17835.python-list at python.org>, "Prospero"
<prospero at bigwig.net> wrote:

> Greetings all!
> 
> As somebody new to Python (and almost new to programming, apart from a
> little dabbling in BASIC and Java) I have what may be a really dumb
> question.
> 
> I have installed the 1.5.2 version and done the tests mentioned in the
> docs, i.e. one-line programs, all of which work fine. Then, following
> the advice of the Non-programmers Tutorial for Python, I saved and tried
> to run the simple "Hello World" program from DOS. I got "Bad command or
> filename". Then I tried adding the path to my autoexec.bat but could not
> find a form acceptable to my machine. There is already a path there,
> which reads "path C:\JDK1.3\BIN", and leads to my Java kit.
> 
> Can somebody suggest a viable addition to this?

You installed to "C:\Program Files\Python" didn't you?

I believe that you can add the line 
SET PATH=%PATH%;C:\"Program Files"\Python
and have it work.

If not, do what I do on a Windows machine and install to C:\Python and add
SET PATH=%PATH%;C:\Python
to your autoexec.bat .

> All the best,
> 
> Prospero.

--
Robert Kern
kern at caltech.edu

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."



More information about the Python-list mailing list