Daniel Schüle wrote: > > others already answered, this is just an idea >
I guess, if we want to avoid the exception paradigm for a particular
problem, we could just do something like:
def isNumber(n):
try:
dummy = int(n)
return True
except ValueError:
return False
and use that function from whereever in the program.
/David
--
http://mail.python.org/mailman/listinfo/python-list
