Comment montrer un spinner de progression lorsque le script Python s'exécute

from yaspin import yaspin

with yaspin(text="Spinner!") as spinner:
    # Support all basic termcolor text colors
    colors = ("red", "green", "yellow", "blue", "magenta", "cyan", "white")

    for c in colors:
        spinner.color = c
        spinner.text = c
        time.sleep(0.5)

    spinner.ok("✅ Done")
MitchAloha