def found_terminator (self):
data, self.buffer = self.buffer, ''
if not data:
asyncore.close_all()
print("done")
return
n = string.atoi (string.split (data)[0])
tf = trigger_file (self)
self.count = self.count + 1
_thread.start_new_thread (thread_function, (tf, self.count, n))
评论列表
文章目录