The utilities module¶
A module which contains various utility methods for handling strings and floats.
-
utilities.is_number(s)[source]¶ Test a string to see if it is a number.
Parameters: s (string) – string which is being tested Returns: Trueifsis a number, andFalseotherwiseReturn type: boolean Note
This method allows “d” and “D” as an exponent (i.e. for Fortran style numbers).