joamag wrote:
Is there any possible way to unblock the sys.stdin.readline() call from a different thread.
If you want the thread to do something 'else' when no input is available, would this work? Put readline in a thread that puts lines in a q=queue.Quese(). Then
try:
l=q.ge_nowait
<process l>
except queue.Empty
<whatever without l>
--
http://mail.python.org/mailman/listinfo/python-list
