Python and Django
파이썬 스레드 프로그래밍
leo21c
2012. 5. 30. 19:09
참고:파이썬을 사용한 실전 스레드 프로그래밍
1. hello thread example
import threading import datetime class ThreadClass(threading.Thread): def run(self): now = datetime.datetime.now() print "%s says Hello World at time: %s" % \ (self.getName(), now) for i in range(2): t = ThreadClass() t.start() |
Thread 이용은 참고 사이트를 이용해서 봐야 할 것 같다.
LIST