low level data types

Fredrik Lundh fredrik at pythonware.com
Wed Feb 15 11:29:23 EST 2006


"dementrio" wrote:

> However now I have another problem - endianness (the client runs on
> powerpc, the server on x86). I found that simply reversing the stuff I
> recv() works, but is there any cleaner way for taking care of this?

http://docs.python.org/lib/module-struct.html

(see the second table, the one that has "byte order" and "size and
alignment" in the heading)

</F>






More information about the Python-list mailing list