Skip to content

Instantly share code, notes, and snippets.

View GrvExplorer's full-sized avatar

Gaurav Verma GrvExplorer

View GitHub Profile
@rene-d
rene-d / colors.py
Last active October 30, 2024 22:43
ANSI color codes in Python
# SGR color constants
# rene-d 2018
class Colors:
""" ANSI color codes """
BLACK = "\033[0;30m"
RED = "\033[0;31m"
GREEN = "\033[0;32m"
BROWN = "\033[0;33m"
BLUE = "\033[0;34m"