fancy printing

This commit is contained in:
2025-02-06 18:48:50 +01:00
parent 37950cfece
commit db1b94119a
6 changed files with 85 additions and 12 deletions
+16 -1
View File
@@ -1,2 +1,17 @@
from printColors import PrintColors
def py_print(*args: str):
print("Py -", " ".join(args))
print(
PrintColors.FG.blue + "Py" + PrintColors.Special.reset,
"-",
" ".join(args)
)
def py_error(*args: str):
print(
PrintColors.BG.red + "ERROR" + PrintColors.Special.reset,
PrintColors.FG.blue + "Py" + PrintColors.Special.reset,
"-",
" ".join(args)
)
quit()