[Python-Dev] proposed struct module format code addition

"Martin v. Löwis" martin at v.loewis.de
Mon Oct 4 08:16:33 CEST 2004

Andrew Durdin wrote:
> I have an application where I have to read and write a series of 
> 24-bit integers in a binary file. The g and G codes would make this
> more convenient, as well as making all the reading and writing code
> more consistent (as the rest of it uses struct).

Out of curiosity: is this a fixed number of of integers in that series?
If so, how many?

If not, it seems you might be better served if this was an extension
to the array module.


More information about the Python-Dev mailing list