(s)
Test if value is numeric
Test if value is numeric
Test if value is numeric
def is_number(s):
        """
        Test if value is numeric
        """
        try:
            s = float(s)
            return True
        except ValueError:
            return False
def is_number ( s ) : try : s = float ( s ) return True except ValueError : return False