Python Multiprocessing And Wxpython Working Together
I've got the following problem: I've written a script which is running up to four processes at the same time. Works like a charm when using it via command line. Then I made the dec
Solution 1:
You can use my tutorial on wxPython and threads, although I'm not sure if Python spreads those threads evenly to all the cores. I suspect it doesn't.
Fortunately, there are examples of using the multiprocessing module with wxPython. See the following links:
- http://wiki.wxpython.org/MultiProcessing
- wxPython non-blocking GUI threading AND multiprocessing?
- wxpython GUI and multiprocessing - how to send data back from the long running process
- http://www.blog.pythonlibrary.org/2012/08/03/python-concurrency-porting-from-a-queue-to-multiprocessing/
I hope those are helpful!
Post a Comment for "Python Multiprocessing And Wxpython Working Together"