I'm trying to make a periodic timer and i've ran into a problem, i get thhis error,
AttributeError: 'module' object has no attribute 'SIGALRM'"
anyone know how whats wrong?
import signal, time
interval = 1.0
ticks = 0
print "Alarm ", ticks
ticks = ticks + 1
signal.alarm(interval) # Schedule a new alarm
# Spin forever--should see handler being called every second