Why not event-driven packages in other than the main thread?

Tor Erik torerik81 at gmail.com
Thu Sep 14 06:29:28 EDT 2006


Bjoern Schliessmann wrote:
> Tor Erik wrote:
> 
>> But could anyone tell me why running these in a thread other than
>> the main one doesn't work?
> 
> Just for personal interest: Why would you want to run the GUI in
> another thread? It's common to leave the GUI in the main thread and
> let worker threads handle heavy time-consuming stuff.
> 
> Regards,
> 
> 
> Björn
> 

If you have two event-based frameworks, both needing to run in the main 
thread, such as Tkinter and Twisted, you have a problem



More information about the Python-list mailing list