title: Python Threading--Crash when updating the GUI
body: <p>So here is my problem--</p>
  
  <p>I am creating a python GUI application using wx python. Once the process button is clicked, there is some file creation/encoding that goes on behind the scenes. Initially, this froze EVERYTHING on the GUI while it was working, so I decided to do the file creation/encoding on a separate thread--Here is the rub, as soon as the method that created the thread finishes--(Relatively quickly) Here is the code that actually creates the threads:</p>
  
  <pre><code>for audiobook in AudioBookObjects:
          thread.start_new(self.createSingleBook, tuple([audiobook]))
  </code></pre>
  
  <p>So here is the weird part--on one machine that I used this code let one thread go, finish and come back without freezing the gui. On another machine, it shoots off two threads really quickly and they crash when they terminate! Does something change the behavior of threads between Operating systems? I am using the same version of python. I am ABSOLUTELY sure of that. </p>
  
  <p>Basically, I need to know two things: What happen to python threads after the method that created them ends, and how can I build a GUI that does not freeze if the trigger method HAS to stick around for the threads to end gracefully!?</p>
  
  <p>Thanks in advance! Let me know if you need anymore information</p>