code: def puts(self, text):
          
          for method, args in ansi_color.find_directives(text, self):
              method(*args)
docs: Prints the supplied text, handling special character codes for carriage
          return (\\r), newline (\\n), backspace (\\b) and tab (\\t). ANSI color
          codes are also supported.
  
          If the ``animate`` flag was set to True (default), then each character
          is flushed to the device, giving the effect of 1970's teletype device.
  
          :param text: The text to print.
          :type text: str