Skip to content

Instantly share code, notes, and snippets.

View GeorgiKarapetrov's full-sized avatar

Georgi Karapetrov GeorgiKarapetrov

View GitHub Profile
@GeorgiKarapetrov
GeorgiKarapetrov / colors.py
Created February 16, 2023 10:15 — forked from rene-d/colors.py
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"