0
Windows 배경에서 실행되는 간단한 스크립트가 있습니다. 뭔가 일이 생길 때부터 시작하겠습니다. 스크립트가 실행되고 있는지 감지 할 수 있습니까?Windows에서 실행중인 스크립트를 감지하는 방법은 무엇입니까?
import threading
def sayhello():
print "hello world"
global t #Notice: use global variable!
t = threading.Timer(5.0, sayhello)
t.start()
t = threading.Timer(5.0, sayhello)
t.start()