clitimer.py takes a single argument - the start time to count down from - shows a countdown and rings the system bell when finished. Usage below:
python clitimer.py 60
# or
python clitimer.py 1:00As the script uses the \a notation to ring the system bell, this script won't work on the windows command line.
browsertimer.py uses JavaScript callbacks with bokeh.plotting to create an HTML timer that counts down from a user-defined time to zero.
python browsertimer.pyWhen the timer launches in the browser, you can use the sliders to adjust the limit on the timer, and the buttons to start, stop/pause, and reset the timer.
- bokeh 0.12 or above
- Thanks to my colleagues Grischa Toedt & Holger Dinkel for advice on how to remove
globalstatements and dependency on thebokeh server.