简体   繁体   中英

Python update multiple lines after print

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

Like this example:

在此处输入图像描述

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

Thanks

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

https://github.com/willmcgugan/rich

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM