[Tutor] after signal handler

Hameed U. Khan hameed.u.khan at gmail.com
Mon Mar 6 13:15:31 CET 2006

 I want to go back after signal handler to the isntruction where I was
stuck. Below is the code I'm trying to play with.

#!/usr/bin/env python
### Start of code ###
import os, signal

def handler(signum, frame):
    print "Signum: ", signum


# I want to come back here after signal handler
raw_input("Enter input: ")


# End of code

What I'm trying to do is to implement a prompt with the remaining time
they have to enter some input.
Hameed U. Khan
Registered Linux User #: 354374

More information about the Tutor mailing list