[Python] 쓰레드 Thread 사용하는 방법
[ 우선 따라해보는 Python ] https://github.com/Mr-DooSun/python-thread Mr-DooSun/python-thread Contribute to Mr-DooSun/python-thread development by creating an account on GitHub. github.com 가끔 프로젝트를 진행하다보면 두가지의 함수를 같이 동작 시키고 싶을때 있습니다 그럴땐 Thread를 이용하면 두가지 이상의 함수를 동시에 동작을 시킬수있습니다. 우선 thread를 이용하기 위해선 threading을 추가해줍니다 import threading 그리곤 thread를 돌릴 함수를 만든후 아래 소스에 함수를 돌려줍니다 Tip) daemon thread를 이용 해줄경우 프로..
2021.06.28