본문 바로가기
Developing../Python

Multithreading in Python - Qthread

by bents 2021. 2. 5.

threading은 gui가 종료되어도 자신의 일을 마칠 때까지 쓰레드가 돌아가는 반면에,

QThread는 gui가 꺼지면, 같이 쓰레드가 종료됩니다. 

 

 

source : realpython.com/python-pyqt-qthread/

 

Use PyQt's QThread to Prevent Freezing GUIs – Real Python

In this step-by-step tutorial, you’ll learn how to prevent freezing GUIs by offloading long-running tasks to worker QThreads in PyQt.

realpython.com

 

'Developing.. > Python' 카테고리의 다른 글

Testing in Python  (0) 2021.02.05
Optimization in Python - Linear Programming  (0) 2021.02.05
Data Handling in Python - Json  (0) 2021.02.05
Data Handling in Python - MySQL  (0) 2021.02.05
Concurrency in python- Async IO  (0) 2021.02.05