python and bit shifts and byte order, oh my!

Reid Nichol rnichol_rrc at yahoo.com
Fri Sep 10 15:13:52 EDT 2004


Grant Edwards wrote:
>>ie Would:
>>x & SOMEBIT
>>be portable?
> 
> 
> Yes, that's portable.
Great!

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