[Python-Dev] proposed struct module format code addition

Andrew Durdin adurdin at gmail.com
Mon Oct 4 00:53:10 CEST 2004


On Sun, 3 Oct 2004 14:14:35 -0400, Tim Peters <tim.peters at gmail.com> wrote:
> 
> I certainly would like to see more people say they'd *use* the g and G
> codes in struct even if "one shot" functions in binascii were
> available.

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).


More information about the Python-Dev mailing list