weblib.text¶
Text parsing and processing utilities.
-
weblib.text.find_number(text, ignore_spaces=False, make_int=True, ignore_chars=None)[source]¶ Find the number in the text.
Parameters: - text – unicode or byte-string text
- ignore_spaces – if True then groups of digits delimited by spaces are considered as one number
Raises: DataNotFoundif number was not found.