`colorama.init() cprint ("Do you want to RUN?", 'green') cprint ("yes / no?", 'green') y1 = input("> ")
while True: colorama.init() if y1 == "yes": for i in range(5): time.sleep(0.1) sys.stdout.write("\rLoading Script " + animation[i % len(animation)]) sys.stdout.flush() pass elif y1 == "no": cprint ("Exiting Script") driver.close() exit() driver.get(webpage)`
Aucun commentaire:
Enregistrer un commentaire