Recent content by kollector

  1. kollector

    Diif

    @owly r1:RegexUtil = RegexUtil() print(r1.extractRegex("(?<=if\s)(.*?)(?=\sthen)", "if test went ok, then good")) print(r1.extractRegex("(?<=then\s)(.*)", "if test went ok, then good")) :s34:
  2. kollector

    coding party! OooWee

    Python function that converts a string of a decimal(negative or positive) in digit form to it's word representation import inflect def decimal_to_words(decimal): p = inflect.engine() if '.' in decimal: if decimal.startswith('-'): integer_part, decimal_part =...
  3. kollector

    coding party! OooWee

    Python function that converts a string of a number in digit form to it's word representation: import inflect def number_to_words(number): p = inflect.engine() words = p.number_to_words(number) return words # Example usage: print(number_to_words("12345")) Python function that...
  4. kollector

    coding party! OooWee

    words = text.split(' ') for i in range(len(words)): print(words[i]) niggaaaaaaaa
Top