Rui Martins
Rui Martins

Reputation: 3848

Python update multiple lines after print

How can I update multi lines in python after print them?

Like this example:

enter image description here

Something like tput ( https://linux.die.net/man/1/tput ) inside python.

Thanks

Upvotes: 0

Views: 498

Answers (1)

K.Cl
K.Cl

Reputation: 1763

Have you looked at the package rich? I believe it can do something like what you want.

https://github.com/willmcgugan/rich

Upvotes: 1

Related Questions