parameters: (self, ms, style="TIP")
docstring: abstraction for managing color printing
docstring_summary: abstraction for managing color printing
docstring_tokens: abstraction for managing color printing
function: def _print(self, ms, style="TIP"):
          """ abstraction for managing color printing """
          styles1 = {'IMPORTANT': Style.BRIGHT,
                     'TIP': Style.DIM,
                     'URI': Style.BRIGHT,
                     'TEXT': Fore.GREEN,
                     'MAGENTA': Fore.MAGENTA,
                     'BLUE': Fore.BLUE,
                     'GREEN': Fore.GREEN,
                     'RED': Fore.RED,
                     'DEFAULT': Style.DIM,
                     }
          try:
              printInfo(styles1[style] + ms + Style.RESET_ALL)
          except:
              printInfo(styles1['DEFAULT'] + ms + Style.RESET_ALL)
function_tokens: def _print ( self , ms , style = "TIP" ) : styles1 = { 'IMPORTANT' : Style . BRIGHT , 'TIP' : Style . DIM , 'URI' : Style . BRIGHT , 'TEXT' : Fore . GREEN , 'MAGENTA' : Fore . MAGENTA , 'BLUE' : Fore . BLUE , 'GREEN' : Fore . GREEN , 'RED' : Fore . RED , 'DEFAULT' : Style . DIM , } try : printInfo ( styles1 [ style ] + ms + Style . RESET_ALL ) except : printInfo ( styles1 [ 'DEFAULT' ] + ms + Style . RESET_ALL )