title: Threading in pyqt4
body: <p>In my GUI I have to download lots of stuff in between. I use urllib to do that. the problem of course then becomes that the GUI freezes up until everything gets downloaded.</p>
  
  <p>My code is something like following</p>
  
  <pre><code>QtCore.QObject.connect( self.UI.commandLinkButton_2 , QtCore.SIGNAL("clicked()") , self.addStoryToHistory )
  </code></pre>
  
  <p>wherein the above function has the downloading code.</p>
  
  <p>There is nothing like sending of shared data among this and the process just involves downloading of the data to a location.</p>
  
  <p>What is the simplest way to not freeze up my GUI ? Should i use <code>multiprocessing</code> or <code>QThreads</code>?</p>
  
  <p>Can anybody point me to some links.... I do not wish it to be very complex so if there is any easier way do it please point it out....</p>
  
  <p>Thanks a lot...</p>