Ansicolors minimal example
from colors import black, red, blue
# Print red example
print(red("test"))
# Print bold example
print(black("test", style="bold"))
Install the library using
pip install -U ansicolors
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow