spkit.utils
.txcolors¶
- class spkit.utils.txcolors¶
Utilities for coloring text
Try these examples with Jupyter-Notebook or on Terminal.
See also
Examples
>>> import spkit as sp >>> TXT = sp.utils.txcolors >>> 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)