[PyQt] QThread problem

Giovanni Bajo rasky at develer.com
Mon Dec 8 21:22:09 GMT 2008


On lun, 2008-12-08 at 19:48 +0100, Sergio Jovani wrote:
> > On lun, 2008-12-08 at 01:53 +0100, Sergio Jovani wrote:
> > > I'm developing a downloads application and I have created a QThread
> > > for that reason.
> >
> > You don't need threads to download files with PyQt. In fact, it's far
> > easier without.
> 
> Hi, I would like know it! Thanks.

Look at the examples. It's the normal way of using Qt: you start a
download and a signal will be emitted when it's done; at a lower level,
you get a signal when any packet arrives.

You never need to use threads to do networking.
-- 
Giovanni Bajo
Develer S.r.l.
http://www.develer.com




More information about the PyQt mailing list