python and bit shifts and byte order, oh my!
Phil Frost
indigo at bitglue.com
Fri Sep 10 15:19:21 EDT 2004
The standard 'struct' module provides methods to specify the byte order
of the input.
On Fri, Sep 10, 2004 at 02:13:52PM -0500, Reid Nichol wrote:
>
> >
> >The code that writes x to a file and reads it from a file is
> >what you have to worry about.
> >
>
> So, I have to handle the byte order myself during file i/o.
>
>
> Thank you Grant and Daniel! I cleared up a a bunch of my fuzziness :)
More information about the Python-list
mailing list