📜  如何使用 Python 检查本地字节序? - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:42.906000             🧑  作者: Mango

代码示例1
>>> import sys
>>> sys.byteorder
# May return 'little' or 'big' depending on the machine executing the above.