Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import signal,sys
- def catch_ctrl_C(sig,frame):
- print "Not gonna quit !!"
- signal.signal(signal.SIGINT, catch_ctrl_C)
- #doing some of my stuffs here
- #--> some codes here to keep "Ctrl + C" online again <---
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement