Busy Indicator

New in version 1.0.0.

Module to make a blinking ASCII busy indicator.

class lsl.common.busy.BusyIndicator(message='Busy', interval=0.5, dots=3)

Object to make a ASCII busy indicator for use with various long- run tasks that don’t have a way of calculating how long they will take.

Example Usage:
>>> from busy import BusyIndicator
>>> bi = BusyIndicator()
>>> bi.start()
>>> longRunningTask()
>>> bi.stop()
start()

Start the indicator running.

stop()

Stop the indicator and display a ‘Done’ message.

Note

This can take up to one BusyIndicator.interval to complete.

Previous topic

Module and Data Paths

Next topic

Color Support

This Page