NewBie Doubt in Python Thread Programming

Chris Angelico rosuav at gmail.com
Wed May 11 11:22:03 EDT 2011


On Thu, May 12, 2011 at 1:16 AM, Wojtek Mamrak <tacyt1007 at gmail.com> wrote:
> Is there any special reason you don't want to use QThread?
> http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qthread.html#details

Other than that QThread is part of QT and threading isn't, what are
the advantages of QThread? Is it possible (safe) to manipulate QT
objects - in this case, the button - from a thread other than the one
that created them? (If not, that would be a good reason for using
QThread, which will fire an event upon termination.)

Chris Angelico



More information about the Python-list mailing list