[Tutor] Syntax Error First Example

Randy Trahan mattie289404 at gmail.com
Thu Jun 11 04:02:54 CEST 2009


Hi,
Just opened the book Python Programming, Second Edition by Michael Dawson
and have my first question. Instead of the usual "Hello World" as the first
example he asked to type this:

print "Game Over"
raw input("\n\nPress the enter key to exit.")

First, I am suppose to put this in the script mode vs the IDLE mode correct?
He failed to mention where..

Also, I get a syntax error at "input"? Since its my first day/hour I don't
know how to debug and its typed in exactly as he wrote it...

Finally, I'm running Python 2.6 on Vista. It loaded but the book did not
mention Vista it only went up to XP. Is that ok?

Any help would be appreciated.

-- 
Randy Trahan
Owner, BullDog Computer Services, LLC
478-396-2516
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090610/9c5a1032/attachment.htm>


More information about the Tutor mailing list