I need to break from time.sleep() using ctrl c.
While 1: time.sleep(60)
In the above code when the control enters time.sleep function a
I tried your code with python versions 2.5, 2.6, 3 under Linux and all throw "KeyboardInterrupt" exception when hitting CTRL-C.
Maybe some exception handling catches the Interrupt or your problem is like this: Why is KeyboardInterrupt not working in python?