CLEAR INPUT BUFFER
z.sam-No-Spam- at libero.it
Thu Oct 28 11:51:19 CEST 2004
I have a problem with Python and the input buffer.
My application must read a barcode from PS2 and then
The problem is: i have to discard all
characters inserted in buffer while Elaborate(data)
I tried to clear the buffer using sys.stdin.flush() but
it seem not work.
proc Principale() :
data = sys.stdin.readline()
proc Elaborate() :
I'll apreciate any help!
More information about the Python-list