Sean DiZazzo wrote:

while aThread.isAlive() or not aQueue.empty():
   l = aQueue.get().rstrip()
   fo.write(l)
   print l

fo.close()

A bit of fun for a sleepless night...

and unless you add a call to time.sleep somewhere in that loop, you'll keep your CPU up all night as well...

</F>

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to