标签:sleep time print 进度条 imp line read lin for
import sys import time # val = sys.stdin.readline()[:-1] # print(val)] # print(‘1‘) # time.sleep(1) # print(‘2‘) n = ‘·‘ for i in range(26): n += ‘·‘ sys.stdout.write(‘\r‘) sys.stdout.write(‘%s%%%s‘%(i*4,n)) sys.stdout.flush() time.sleep(0.1)
标签:sleep time print 进度条 imp line read lin for
原文地址:http://www.cnblogs.com/cloniu/p/6219207.html