How to make a multi-thread python program response to Ctrl+C key event?
Edit: The code is like this:
import threading current = 0 c
You can always set your threads to "daemon" threads like:
t.daemon = True t.start()
And whenever the main thread dies all threads will die with it.
http://www.regexprn.com/2010/05/killing-multithreaded-python-programs.html