flush progess bar
import sys,time
for i in range(50):
sys.stdout.write("#")
sys.stdout.flush()# flash the data from memory
time.sleep(0.1)
import sys,time
for i in range(50):
sys.stdout.write("#")
sys.stdout.flush()# flash the data from memory
time.sleep(0.1)