From: Steve F. <sf...@ih...> - 2006-07-24 23:44:51
|
On Sat, 2006-07-22 at 09:42 -0400, hwphillips wrote: > I have written a program which involves a long process of copying > files/converting files. I would like for the user to be able to stop the > process. I put a "stop" menu item, but the program doesn't respond. The > window titlebar goes white and nothing happens till the > copying/converting process is over. Any assistance would be appreciated. Or if you're looking to pick up an awesome asynchronous toolkit, you could use Twisted (http://www.twistedmatrix.com) to do that very simply. (Very simply, that is, after you've had sufficient Kool-Ade, if you will.) I'm using Twisted together with Pythoncard and it's an absolutely killer combo. Somebody with more experience than I should do a writeup on it; that combination is the answer to a lot of developers' needs. Steve |