win extension supports RS232 binary
peter at engcorp.com
Sun Feb 24 20:35:26 CET 2002
Spencer Doidge wrote:
> Starting with Isaac Barona's SerialPort extension built on the win32
> extensions, I have a receiver working now on binary data. The original
> SerialPort handles ASCII, and you can use strlen() to determine the number
> of bytes received. My update on Barona's module returns a tuple giving the
> number of bytes received and a list containing those bytes.
I don't understand why the original would be limited to binary...
Python strings easily handle embedded ASCII NUL characters.
More information about the Python-list