def show_head_animation(): bar = SimpleAnimatedProgressBar(speed=1000) bar.show_progress_bar() bar.increase(50) while (not bar.completed()): if random.randint(1, 500000) == random.randint(1, 500000): bar.increase(50) bar.show_progress_bar()
def show_head_animation(): bar = SimpleAnimatedProgressBar(speed=1000) bar.show_progress_bar() bar.increase(50) while(not bar.completed()): if random.randint(1, 500000) == random.randint(1, 500000): bar.increase(50) bar.show_progress_bar()