running python from cmd.exe

Miki miki.tebeka at gmail.com
Fri Jul 4 00:20:41 EDT 2008


Hello,

> I can't seem to get python to run my scripts using the command: python
> <userscript>.py
>
> If I type python the interpreter runs as I sorted out the Path property,
>
> I'm afraid I don't know much about this kind of thing as I'm a science
> student who needs some Python not a programmer!
Can you be more specific about the error you get?

Say you have a script hw.py that contains one line:
print "Hello Python"

and you run
python hw.py

What is the error you get?

HTH,
--
Miki <miki.tebeka at gmail.com>
http://pythonwise.blogspot.com




More information about the Python-list mailing list