Spaces:
Running
on
Zero
Running
on
Zero
# coding: utf-8 | |
""" | |
custom print and log functions | |
""" | |
__all__ = ['rprint', 'rlog'] | |
try: | |
from rich.console import Console | |
console = Console() | |
rprint = console.print | |
rlog = console.log | |
except: | |
rprint = print | |
rlog = print | |