0
我应该继续使用这样的线程还是应该使用多处理?我试图让按钮按下时切换while循环。切换线程
主题:
class workingthread(threading.Thread):
def __init__(self):
threading.Thread.__init__(self)
def run(self):
while 1:
chat = skype.CreateChatWith(name)
chat.SendMessage(message)
t.sleep(timeou)
启动线程:
def this(self,event):
t = workingthread()
t.start()
有谁知道吗? – user1152873 2012-01-28 00:25:34
我认为你没有提供足够的解释给任何人提供帮助。 – Jivings 2012-01-28 17:03:10
我会编辑我的帖子并添加更多信息。 – user1152873 2012-01-28 19:28:43