Try something simple: on a button press (cancel, enter, whatever), start the timer, on another button press, print the timer, nothing else.
I see you've set up attacktimer and swingtimer, so experiment making both start() on that above situation, then print. Something like this on the print should help you out:
print(attacktimer.is_stopped, " - ", attacktimer.time_left)
attacktimer.start() #forces a restart after printing the previous result