#script made by notverynerdykid. Originally built for SL4A. It was supposed to vibrate the a phone three times every 90 seconds. Now it makes noise.
#Also,this script can be modfied to fit any use as a displaying timer. Do whatever you want with it (Except for setting off bombs, of course.)
import time
def timerstart():
sec = 0
while True:
if sec == 0:
#insert function here
print("\a")
#end function
sec = 90 #sets time
print("\n" * 100, sec, "sec")
else:
while True:
time.sleep(1)
sec -= 1
print(sec, "sec")
if sec == 0:
break
try:
timerstart()
except(KeyboardInterrupt):
print("timer stopped")
pass
Little Python Timer.