On 2005-08-19, John Machin <[EMAIL PROTECTED]> wrote: > The OP is reading raw output from a serial port. He's already said he's > getting "funny ASCII characters". One gets the impression he thinks he > needs to do bit-twiddling on *each* byte. Looks like he needs ord(), or > (better) struct.unpack()
Yes, I finally reached that conclusion. The OP kept insisting he was reading hex strings -- an impression given him by the device's vendor, apparently. -- Grant Edwards grante Yow! Jesuit priests are at DATING CAREER DIPLOMATS!! visi.com -- http://mail.python.org/mailman/listinfo/python-list