# coding:utf-8
import sys
import time
for item in range(100):
sys.stdout.write('\r' + str(item) + '\033[K')
sys.stdout.flush()
time.sleep(0.1)
# coding:utf-8
import sys
import time
for item in range(100):
sys.stdout.write('\r' + str(item) + '\033[K')
sys.stdout.flush()
time.sleep(0.1)
本文标题:Python 刷新输出
本文链接:https://www.haomeiwen.com/subject/efcggftx.html
网友评论