Use pip to install:
pip install GiraffeTimer
-
timer.timer(minutes,seconds)= Counts down the amount of time put in to the parameters before ending.
-
Print Timer: timer.ptimer(minutes,seconds)= prints seconds inputted into parameters. Same as Timer but prints seconds.
-
StopWatch: timer.swatch()= Returns the amount of time taken before finishing an action.
from Timers import timer
timer.timer(1,20)
#Counts down for 1 minutes and 20 seconds
timer.ptimer(1,20)
#counts down and prints for 1minute and 20 seconds
timer.swatch()
#waits for user action
This is my first Python Package and I made this just to practice not to truly use as a package. Hope you enjoy!