📅  最后修改于: 2022-03-11 14:46:30.501000             🧑  作者: Mango
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")