ERROR when hitting RETURN on INPUT

ctilly at gmail.com ctilly at gmail.com
Sat Mar 11 03:40:50 EST 2006


How do you prevent getting the following error when you hit the RETURN
key on an empty INPUT prompt from windows?

If I am at the Interactive Window and I type in: input("blah"), I get
an input dialog.  If I then hit ENTER w/o keying in a value I get the
following error.  WHY????

SyntaxError: unexpected EOF while parsing




More information about the Python-list mailing list