You're reading an old version of this documentation. If you want up-to-date information, please have a look at v0.8.2.
snl_d3d_cec_verify.text package¶
- class snl_d3d_cec_verify.text.Spinner¶
A context manager which provides an ASCII spinner on stdout
Running the spinner without input:
>>> with Spinner() as spin: ... for _ in range(4): ... spin() - / | \
If text passed to the spinner contains a percentage sign, the spinner will display the percentage value:
>>> with Spinner() as spin: ... for line in ["1.1%", "1.2%"]: ... spin(line) 1.1% 1.2%