Re: read function in python serial

2005-08-11 Thread Peter Hansen
sinan . wrote: > 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. def seria

Re: read function in python serial

2005-08-11 Thread Fredrik Lundh
"sinan ." <[EMAIL PROTECTED]> wrote: > 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 ?

read function in python serial

2005-08-11 Thread sinan .
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. -- http://mail.python.org/mailman/