Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to check local endianness with Python ?

>>> import sys
>>> sys.byteorder
# May return 'little' or 'big' depending on the machine executing the above.
 
PREVIOUS NEXT
Tagged: #check #local #endianness #Python
ADD COMMENT
Topic
Name
4+3 =