Re: [Tutor] Syntax Error First Example

2009-06-11 Thread Kent Johnson
On Wed, Jun 10, 2009 at 10:02 PM, Randy Trahan wrote: > First, I am suppose to put this in the script mode vs the IDLE mode correct? > He failed to mention where.. Generally the "Python Shell" window is for interactive exploration and to see the results of your scripts. To type in a complete prog

Re: [Tutor] Syntax Error First Example

2009-06-10 Thread Lie Ryan
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.") > > First, I

Re: [Tutor] Syntax Error First Example

2009-06-10 Thread Wayne
On Wed, Jun 10, 2009 at 9:12 PM, bob gailer wrote: > Randy Trahan wrote: > >> First, I am suppose to put this in the script mode vs the IDLE mode >> correct? He failed to mention where.. > > It really doesn't matter - although presumably he meant you to write a script instead of in the shell/int

Re: [Tutor] Syntax Error First Example

2009-06-10 Thread bob gailer
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\nPr

[Tutor] Syntax Error First Example

2009-06-10 Thread Randy Trahan
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 mo