mirror of https://github.com/Textualize/rich.git
example text
This commit is contained in:
parent
ac283976c0
commit
869f5ba962
|
@ -44,6 +44,11 @@ if __name__ == "__main__":
|
|||
|
||||
console = Console()
|
||||
|
||||
console.print(
|
||||
"\nRich can pretty print [b]attrs[/b] objects ( https://www.attrs.org/en/stable/ )\n",
|
||||
justify="center",
|
||||
)
|
||||
|
||||
console.rule("attrs without Rich")
|
||||
|
||||
print(model)
|
||||
|
|
Loading…
Reference in New Issue