1#pip install os
2#pip install time
3#pip install colorama
4#pip install tqdm
5import os
6from tqdm import tqdm
7from colorama import Fore, Back, Style
8import time
9
10for i in tqdm (range (101),
11 desc=Fore.GREEN + "Loading. . .",
12 ascii=False, ncols=75):
13 time.sleep(0.01)
14
15#the Fore.GREEN adds colour to the loading bar
16print(Fore.GREEN + "Complete. . .")
17time.sleep(1)
18#this will clear the terminal
19os.system('cls' if os.name == 'nt' else 'clear')