psSerial: how to write a single byte value to the serial port?

Diez B. Roggisch deetsNOSPAM at web.de
Wed Nov 17 16:10:53 EST 2004


> Actually, it is of my concern. I need to know whether I can put null
> bytes in a string or not. If Python used the C convention, I
> couldn't. Since it doesn't, I can.

You are right. I should have thought about that, as otherwise the struct
module would be not so easy usable.

-- 
Regards,

Diez B. Roggisch



More information about the Python-list mailing list