Skip to content

Instantly share code, notes, and snippets.

@FernandoCelmer
Created January 7, 2023 00:24
Show Gist options
  • Save FernandoCelmer/4317f1af3a3dd83158bd73fa3af68018 to your computer and use it in GitHub Desktop.
Save FernandoCelmer/4317f1af3a3dd83158bd73fa3af68018 to your computer and use it in GitHub Desktop.
class Colors:
VIOLETT = '\033[95m'
BLUE = '\033[94m'
CYAN = '\033[96m'
GREEN = '\033[92m'
YELLOW = '\033[93m'
RED = '\033[91m'
ENDC = '\033[0m'
BOLD = '\033[1m'
UNDERLINE = '\033[4m'
DARK_GRAY = '\033[0;37m'
def print_banner():
l = [" _ _ ___ __ _ _ "]
i = ["| | (_) _ _ _ _ __ __| _ \ _ _ ___ / _|(_)| | ___ "]
n = ["| |__ | || ' \| || |\ \ /| _/| '_|/ _ \| _|| || |/ -_)"]
u = ["|____||_||_||_|\_,_|/_\_\|_| |_| \___/|_| |_||_|\___|"]
x = ["v1.0.11"]
text = ""
banner = [l, i, n, u, x]
colors = [Colors.GREEN, Colors.BLUE, Colors.YELLOW, Colors.RED, Colors.DARK_GRAY]
for index, line in enumerate(banner):
line.insert(0, colors[index])
text = text + "\n".join(line)
print(text+Colors.ENDC)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment