On Wed, 01 Jan 2014 14:38:59 +0200, Steve Hayes <hayes...@telkomsa.net> wrote:
>>> python g:\work\module1.py
  File "<stdin>", line 1
    python g:\work\module1.py
           ^


Which gave a different error the previous time I did it.


But, hey, it worked from the DOS prompt


C:\Python32>python g:\work\module1.py
Hello Module World

You need to understand that you are using two VERY different languages, one at the DOS prompt, the other at the python prompt and in .py files. You cannot use shell syntax at the python prompt, any more than you can do the reverse.

--
DaveA

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to