How can I tell when a string is in fact a number?

Thomas Gagne tgagne at ix.netcom.com
Mon Nov 6 08:31:53 EST 2000


Wouldn't it make better sense to return a boolean?  Is it possible to modify
the String class to include a method, isNumber, that returns true or false?

--
.tom






More information about the Python-list mailing list