[NEWBIE]- Syntax error

Alistair Campbell campbells4 at ozemail.com.au
Fri Jun 28 07:56:09 EDT 2002


Hi,
I imagine the answer to this post is very simple ... but I'm not proud.

Using Python2.2 on Windows OS

Anyway, when I try to run a script fom the command line in IDLE or Python

>>>python name_of_script.py

the interpreter complains that there is a syntax error and highlights the
"name_of _script" part.

I imagine that I have not initialised some PATH variable or other. I guess
that i need to put something in the autoexec.bat. Can anyone suggest what?

Alistair Campbell
Brisbane, Qld, Australia









More information about the Python-list mailing list