No subject

Dane Ensign dane at deepsnow.org
Thu Sep 22 17:57:20 EDT 2005


Hi all,

Im new to python. Please can someone suggest a url for reading or  
solution to validating
user input in python reliably? upon building a small terminal app,
it appears that using the raw_input function combined with try-catch
for the input conversion to integer, might be a good way to go. ?

I need users to enter integers, and everything else displays "invalid
input, try again"

Thanks in advance for any help you can offer.

Dane







More information about the Python-list mailing list