Python packaging
This commit is contained in:
parent
7487eb94bd
commit
85df574d3c
22 changed files with 48 additions and 10 deletions
14
RenDroidUnpack/printer.py
Normal file
14
RenDroidUnpack/printer.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
class Printer:
|
||||
|
||||
@staticmethod
|
||||
def info(msg: str):
|
||||
print(f"\033[100m[INFO] {msg}\033[49m")
|
||||
|
||||
@staticmethod
|
||||
def warn(msg: str):
|
||||
print(f"\033[93m[WARN]\033[0m {msg}\033[49m")
|
||||
|
||||
@staticmethod
|
||||
def err(msg: str):
|
||||
print(f"\033[31m[ERROR]\033[0m {msg} Exiting...\033[49m")
|
||||
exit()
|
||||
Loading…
Add table
Add a link
Reference in a new issue