how to convert 3 byte to float

Mario M. Mueller news.mueller at arcor.de
Sat Dec 8 05:34:30 EST 2007


Hi,

I have a binary file containing 3 byte float values (big endian). How can I
read them into python? The struct module does not work, since it expects 4
byte floats.

Any hints?

Mario



More information about the Python-list mailing list