MCPcopy
hub / github.com/Xyntax/POC-T / cprint

Function cprint

thirdparty/termcolor/termcolor.py:118–124  ·  view source on GitHub ↗

Print colorize text. It accepts arguments of print function.

(text, color=None, on_color=None, attrs=None, **kwargs)

Source from the content-addressed store, hash-verified

116
117
118def cprint(text, color=None, on_color=None, attrs=None, **kwargs):
119 """Print colorize text.
120
121 It accepts arguments of print function.
122 """
123
124 print((colored(text, color, on_color, attrs)), **kwargs)
125
126
127if __name__ == '__main__':

Callers 1

termcolor.pyFile · 0.85

Calls 1

coloredFunction · 0.85

Tested by

no test coverage detected