threading in PyQt vs threading in standard library

Phil Thompson phil at riverbankcomputing.com
Fri Jan 9 08:32:34 CET 2009


On Fri, 9 Jan 2009 15:15:28 +0800, "Steven Woody" <narkewoody at gmail.com>
wrote:
> Hi,
> 
> I am considering using PyQt for GUI programs, and I notices that both
> of them include threading supports, so which one should I pick up?
> Similar also applies 'socket'.

I'd recommend using the PyQt versions of both.

A significant advantage of PyQt's sockets is that they are integrated with
the event loop. This means you don't need threads to handle networking.

Phil



More information about the Python-list mailing list