At Wednesday 18/10/2006 16:45, Fabian Steiner wrote:
Recently I came across a problem which I still can't solve on my own.
Consider this small example:
import sys
import time
time.sleep(3)
print
sys.stdin.flush()
input = raw_input('Your input: ')
print 'Your input: ', input
While the script i
I found this.
http://mail.python.org/pipermail/python-list/2006-September/359296.html
You cannot flush input. The flush method only relates to output. The
*other* side of the file has to flush *its* output in order for you to
see it as input.
--
http://mail.python.org/mailman/listinfo/python-l