Michael Hartl wrote > As luck would have it, isnumber is a built-in Python function: > >>>> isnumber(1) > True >>>> isnumber(1.0) > True >>>> isnumber('1') > False
and what strange Python version would that be? >>> isnumber(1) Traceback (most recent call last): File "<stdin>", line 1, in ? NameError: name 'isnumber' is not defined </F> -- http://mail.python.org/mailman/listinfo/python-list