If you use GUIs in Python much, then you know that sometimes you need to execute some long running process every now and then. Of course, if you do that as you would with a command line program, then you’ll be in for a surprise. In most cases, you’ll end up blocking your GUI’s event loop and the user will see your program freeze. What can you do to get around just mishaps? Start the task in another thread or process of course! In this article, we’ll look at how to do this with wxPython and Python’s threading module. (more…)
Entries tagged with “Threads”.
Did you find what you wanted?
Sat 22 May 2010
wxPython and Threads
Posted by Mike under Cross-Platform, Python, wxPython
[6] Comments