read function in python serial

sinan . orome.the.valar at gmail.com
Thu Aug 11 05:34:14 EDT 2005


hi i`m developing a program that reads the serial device. i like the
readline() function, but readline() depends on \n character, i want a
similar function that waits for a specific character or string that i
gave like [ETX] (hex03) how can i do this ?
thank you.



More information about the Python-list mailing list