📜  如何从控制台 pythonn 中删除打印语句 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:49.094000             🧑  作者: Mango

代码示例1
import time
for x in range (0,5):  
    b = "Loading" + "." * x
    print (b, end="\r")
    time.sleep(1)