ScriptsPublicos/pyRichRepl.py

11 lines
188 B
Python
Raw Normal View History

2022-04-23 00:59:43 -04:00
from rich import pretty
from rich.console import Console
2022-05-21 23:00:52 -04:00
from rich import inspect as inspct
def inspect(obj):
inspct(obj, methods=True)
2022-04-23 00:59:43 -04:00
pretty.install()
print = Console().print
2022-05-21 23:00:52 -04:00