This article discusses using the macros build into the ncurses library. We could do this approach but I also wanted to test out creating our own enums like below:
class colors:
"""
This is a class that helps with printing out colors to the terminal.
"""
PINK = '\033[95m'
PURPLE = '\033[94m'
GREEN = '\033[92m'
YELLOW = '\033[93m'
RED = '\033[91m'
ENDC = '\033[0m'
This article discusses using the macros build into the ncurses library. We could do this approach but I also wanted to test out creating our own enums like below: