[Tutor] Input handling?
scott.yamamoto at yahoo.com
Tue Sep 18 05:11:06 CEST 2012
I've been trying to find possible erros with input(such as NameError or SyntaxError) to handle them with an except clause. however, I've found that hitting enter/return while prompted without inputting creates some kind of problem.
>>>username = raw_input("Input a username: ")
Input a username: #hits enter, encounter problem here. Loops forever or something
Using python for ios
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor