sidpy.base.string_utils.str_to_other

sidpy.base.string_utils.str_to_other(value)[source]

Casts a single value encoded in a string to the appropriate python object. Useful when parsing numbers, boolean, etc. in text files

Parameters:

value (str / unicode) – String to be cast into other appropriate python object