>   (ord(strBuf[2])<<7) + ord(strBuf[1])

wow, thank you - works perfectly !

and much more elegant than what i was up to.

thanks again...

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to