Browse Source

ADD file via upload

master
BIT2024 1 year ago
parent
commit
2ecfa3f639
1 changed files with 17 additions and 0 deletions
  1. +17
    -0
      utils/color_print.py

+ 17
- 0
utils/color_print.py View File

@@ -0,0 +1,17 @@
from rich import print


def red_print(text):
print(f"[red]{text}[/red]")
def green_print(text):
print(f"[green]{text}[/green]")
def yellow_print(text):
print(f"[yellow]{text}[/yellow]")

def blue_print(text):
print(f"[blue]{text}[/blue]")

if __name__ == "__main__":
yellow_print("This is red text.")

Loading…
Cancel
Save