On 15 Aug 2006 10:06:02 -0700, KraftDiner <[EMAIL PROTECTED]> wrote:
>How can you tell if the host processor is a big or little endian
>machine?
>
sys.byteorder
Jean-Paul
--
http://mail.python.org/mailman/listinfo/python-list
KraftDiner wrote:
> How can you tell if the host processor is a big or little endian
> machine?
>
One possible way is to use the struct module to encode an integer value
in native and little-endian modes and see if the result comes out the
same or different.
regards
Steve
--
Steve Holden
How can you tell if the host processor is a big or little endian
machine?
--
http://mail.python.org/mailman/listinfo/python-list