syntax error message
John Magness
johnnydemag at sbcglobal.net
Thu Jul 12 13:48:33 EDT 2012
Using Python 3.2.3
In shell I made a simple program; dog=2,cat=3,cow=dog+cat
Entered cow and received 5 as answer
Saved-as Trial-1.py in a user folder
Went to folder and select "edit with shell" for that file
Trial-1.py displayed, clicked save, run and then run module to activate program
got message in box "syntax error" and after I clicked OK the #2 in the heading
Python 3.2.3 was high-lighted
in red and the "or" and "for" words were changed to red letters and program
seems to be text only.
In other words, I am not able to re-use or change the program
Help needed.
John, a beginner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120712/a3b46b69/attachment.html>
More information about the Python-list
mailing list