import time
int i = 0
for i in range(100):
print ("Downloaded " + str(i) + "%", end='\r')
time.sleep(50/1000) # sleep() function takes number of seconds
print ("Downloaded 100%")
print ("Download complete")
bok/sw/py/str.txt · Last modified: 2020/12/29 13:10 by anwlur