Stopping a thread from an imported file

Aahz aahz at pythoncraft.com
Sat Mar 30 15:54:10 EST 2002


In article <4378fa6f.0203290918.21be5409 at posting.google.com>,
Marc <mnations at airmail.net> wrote:
>
>I am writing an application that has a front end Tkinter GUI and a
>back end process. The back end process is being imported into the GUI,
>which acts as the main thread in the program. When the 'GO' button is
>clicked, the GUI starts a thread which calls a function that sends
>control to the back end.
>
>The problem is that when this function has ended, the thread does not
>die. So when the button is clicked to start the application again, it
>won't start because it thinks the thread is still active.

I don't have the time to track down your problem, but if you go to my
web site, you can see an example of a working program that may help you.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Why is this newsgroup different from all other newsgroups?



More information about the Python-list mailing list