Following is the code to create a Progress bar in Python. For that you need to install tqdm package
Here is the code:
from tqdm import tqdm
from time import sleep
pbar = tqdm(total=100)
for i in range(10):
sleep(0.2)
pbar.update(10)
pbar.close()
Blog which contains C#, asp.net, asp.net MVC, Selenium webdriver with core java, Bootstrap, Jquery and many more
Following is the code to create a Progress bar in Python. For that you need to install tqdm package
Here is the code:
from tqdm import tqdm
from time import sleep
pbar = tqdm(total=100)
for i in range(10):
sleep(0.2)
pbar.update(10)
pbar.close()
Comments
Post a Comment