显示进度条

#!/usr/bin/env python
import sys,time
for i in range(50):
sys.stdout.write('#')
sys.stdout.flush()
time.sleep(0.1)
原文地址:https://www.cnblogs.com/rongye/p/9911826.html