How do I make python test.py work without a syntax error msg?

Sergey Smirnov smirnoffs at gmail.com
Thu Aug 19 08:53:30 EDT 2010


*when I actually *

*type it I get an error msg*

Did you type python commands in a bash console? In case you did, you should
run python interactive console instead. Just type python in terminal window
and than you'll be able interactively run statements.

If you have your script saved in a file, for instance, script.py, to run it
on your Mac you should type:
$ python script.py

It would be easier to understand you if you'll post errors messages here.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100819/ce4e95df/attachment.html>


More information about the Python-list mailing list