📜  python 进度条 - Python 代码示例

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

代码示例6
import time
import sys

for i in range(100):
    time.sleep(1)
    sys.stdout.write("\r%d%%" % i)
    sys.stdout.flush()