struct.unpack less than 1 byte

Guilherme Polo ggpolo at gmail.com
Wed Oct 10 06:15:25 EDT 2007


2007/10/10, cprogrammer <cprogrammer at gmail.com>:
> hello all,
>
> i need to read from a file a struct like this [1byte, 12bits, 12bits]
> reading 1 byte or more is not a problem ... but the 12 bits values
> are ...
>
> thanks
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>

12bits, 12bits == 3 byes

-- 
-- Guilherme H. Polo Goncalves



More information about the Python-list mailing list