linux-tools/print_helpers.py

19 lines
356 B
Python
Raw Permalink Normal View History

2020-07-25 04:50:06 +02:00
def print_fail(text):
print("\033[91m" + "[-] " + text + "\033[0m")
def print_gr(text):
print("\033[92m" + "[+] " + text + "\033[0m")
def print_warn(text):
print("\033[93m" + "[*] " + text + "\033[0m")
def print_blue(text):
print("\033[94m" + "[+] " + text + "\033[0m")
2020-08-02 13:58:47 +02:00
def print_bold(text):
print("\033[1m" + text + "\033[0m")