Hello, I'm not sure I understand precisely your question but maybe you can try a readline and a flushinput like that:
import serial
port= 0 # or the port where you're device is connected
baudrate=9600 # or the baudrate of your device
s = serial.Serial(port, baudrate) # Open the port
for i in range(100):
s.flushInput()
line= s.readline()
print line
--
http://mail.python.org/mailman/listinfo/python-list
