This is a very simple Python module that you can clone into your Python app to add colors.
The colors can help you delineate specific log events.
Here's how to use it:
-
Import
-
Clone this Github repository into your project: git clone https://github.com/TrueSlu/smallConsoleColors
-
Move the colors.py file into your working directory: mv smallConsoleColors/colors.py .
-
OPTIONAL: Destroy smallConsoleColors directory: rm -rf smallConsoleColors/
-
In your .py file: from colors import *
-
-
Enjoy!