[PyQt] QFuture replacement for PyQt?
arve.knudsen at gmail.com
Tue Sep 2 07:41:50 BST 2014
Bryan, if you're on Python 3 you might want to try Quamash (
https://github.com/harvimt/quamash), which gives you a Python asyncio event
loop integrated with (Py)Qt. I've been integral to its development, so I
know it quite well, and am currently successfully using it in a PyQt
asynchronous application. Our application uses Quamash for network
communication and running subprocesses asynchronously.
It seems to me that this would meet your requirements.
Hope this helps,
On Tue, Sep 2, 2014 at 5:41 AM, Bryan A. Jones <bjones at ece.msstate.edu>
> As I understand it, PyQt can't (and won't) support QtConcurrent, per .
> Is there a Pythonic replacement for the QFuture/QFutureWatcher classes?
> Something like (pardon the abuse of notation):
> # Pseudocode -- just the concept, but not syntacticly correct:
> run_in_another_thread(result = f(a, b))
> # When f(a, b) finishes and returns result:
> invokable by something like:
> # Is there an implementation of this idea out there?
> QPythonicFuture(g, f, a, b)
> Bryan A. Jones, Ph.D.
> Associate Professor
> Department of Electrical and Computer Engineering
> 231 Simrall / PO Box 9571
> Mississippi State University
> Mississippi state, MS 39762
> bjones AT ece DOT msstate DOT edu
> voice 662-325-3149
> fax 662-325-2298
> Our Master, Jesus Christ, is on his way. He'll show up right on
> time, his arrival guaranteed by the Blessed and Undisputed Ruler,
> High King, High God.
> - 1 Tim. 6:14b-15 (The Message)
> PyQt mailing list PyQt at riverbankcomputing.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt