[Tkinter-discuss] thread module

Amit Finkler amit.finkler at gmail.com
Tue Apr 1 15:05:43 CEST 2008


Hi,

Following a previous post of mine
(http://mail.python.org/pipermail/tkinter-discuss/2008-March/001320.html),
I finally managed to start a new thread using the thread module. This
new thread is started by clicking on a button on my Tkinter GUI and it
just continuously plots a graph using matplotlib.

Now, however, a new problem arises - how does one close the thread???
The function this thread starts has a Ctrl-C Exception which works fine
if the thread module is not used. Now, however, pressing Ctrl-C does
nothing. The thread has a life of its own!!!

Your help will be greatly appreciated.

Amit.


More information about the Tkinter-discuss mailing list