ahkab.ticker

A progress indicator.

class ticker(increments_for_step=10)[source]

This is a progress indicator class.

If activated, you shouldn’t print anything to screen before calling ticker.hide().

If you wish to change the progress indicator, change self.progress to something else.

display(enable=None)[source]

Print to screen the progress indicator. Call hide to hide it again.

hide(enable=None)[source]

Before printing text to screen, call this to hide the progress indicator.

reset()[source]

Reset to initial status. Doesn’t hide it.

step()[source]

After calling this function ticker.increments_for_step times the status is incremented.