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
"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
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 -