Error checking for 'raw_input( )'?

eric_brake brakedon at hotmail.com
Wed Jun 6 08:55:50 EDT 2001


What is the best way to detect whether number or letter strings were
entered into the "raw_input( )" field. I want to be able to send a
error message to the user if they enter the incorrect type
(numbers,letters,etc).



More information about the Python-list mailing list