Re: [Tutor] I can't know how to use the "press the enter key to exit" command

2010-07-06 Thread Camillo Pereira
On 6 July 2010 17:27, Camillo Pereira wrote: > Hi, > > Can the error message be posted along with the Python code please. > > Regards, > > Camillo > > On 5 July 2010 23:52, erinzo wrote: > >> Sorry, I am a beginner in the python programming language.But went I >> type raw input("\n\npress the e

Re: [Tutor] I can't know how to use the "press the enter key to exit"command

2010-07-06 Thread Alan Gauld
"erinzo" wrote Sorry, I am a beginner in the python programming language. But went I type raw input("\n\npress the enter key to exit.") in the last line of the program,I have the syntaxerror. If you are using Python v2 use raw_input() # note the underscore If you are using Python v3

[Tutor] I can't know how to use the "press the enter key to exit" command

2010-07-06 Thread erinzo
Sorry, I am a beginner in the python programming language.But went I type raw input("\n\npress the enter key to exit.") in the last line of the program,I have the syntaxerror.My program can not wait the user to press the enter key.___ Tutor maillist -