get_host_byteorder.py (240B)
1 #!/usr/bin/env python3 2 # Copyright 2017 The Chromium Authors 3 # Use of this source code is governed by a BSD-style license that can be 4 # found in the LICENSE file. 5 6 """Get Byteorder of host architecture""" 7 8 9 import sys 10 11 print(sys.byteorder)