Data reading problem
mszpadzik at o2.pl
Sun Dec 19 16:27:49 CET 2004
I'm a newbie.
I have some problems with bits data reading. I have binary data file
where data is written as 12bits pack. I need to read it becouse there
are saved values which have to processed later by my program. I was
wandering about reading 3bytes=24bits and split it by bits moving. If
anyone know how to do that please tell me or give me some code.
My data example:
i need to split it:
and then do:
mydata=x*a+b where a and b are a float point numbers
Sorry for my poor english. I wish You understand what I mean.
THX for any answer.
More information about the Python-list