import os, time os.system('') RED = "\033[54;41;32m{}\033[0m" print('Loading:') for i in range(10): time.sleep(1); print(RED.format('#'), end="", flush=True) print('\nFinished!')