Bases: object
A class to display a spinner in the terminal.
It is designed to be used with the with statement:
with Spinner("Reticulating splines", "green") as s:
for item in enumerate(items):
s.next()
Parameters: | msg : str
color : str, optional
file : writeable file-like object, optional
step : int, optional
chars : str, optional
|
---|