📜  执行 cpu 密集型任务时,如何保持 pyqt GUI 响应? - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:00.748000             🧑  作者: Mango

代码示例1
You can use threading to solve your problem.

You can put your image writing function inside a new thread and then that task will get independent of your UI part and hence it will not lag.

I have done it and let me know if you need any further help.