spkit.utils.bcolors

class spkit.utils.bcolors

Utilities for coloring text

Try these examples with Jupyter-Notebook or on Terminal.

See also

txcolors

Examples

>>> import spkit as sp
>>> TXT = sp.utils.bcolors
>>> print(TXT.CRED + 'Red Font' +TXT.ENDC)
>>> print(TXT.BYellow + 'Yellow Background' +TXT.ENDC)
>>> print(TXT.CBLUE + 'Blue Font' +TXT.ENDC)
>>> print(TXT.OKGREEN + 'Blue Font' +TXT.ENDC)