Python GUI is not responding while thread is executing
问题 I have Python GUI, and in one for-loop I call function from some dll which returns values for populating tableWidget row by row. All this works fine, except I can't scroll table while it's still populating (while dll function calculating things - 7-8secs for each row) so I tried work with threads like this: q = Queue.Queue() for i in (0, numberOfRows): threading.Thread(target=self.callFunctionFromDLL, args=(arg1,arg2, q)).start() result = q.get() ... do something with "result" and populate