havn't got an example, but my very rough guess is maybe you could do something along the lines of;
wrap a function around the time.sleep() function that when called it starts the sleep in another thread so that the program will only continue untill;
thread gets killed (stoppped)
so the way to interrupt could be to manually shut down the thread which in turn would shut down the sleep
you could make your own sleep class that allows you to kill it?
something along those lines anyway
not too experienced on threading or using classes