[Tutor] Syntax Error First Example
bob gailer
bgailer at gmail.com
Thu Jun 11 04:12:18 CEST 2009
Randy Trahan wrote:
> 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.")
Try 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
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
--
Bob Gailer
Chapel Hill NC
919-636-4239
More information about the Tutor
mailing list