get_host_byteorder.py 299 B

123456789101112
  1. #!/usr/bin/env python
  2. # Copyright 2017 The Chromium Authors. All rights reserved.
  3. # Use of this source code is governed by a BSD-style license that can be
  4. # found in the LICENSE file.
  5. """Get Byteorder of host architecture"""
  6. from __future__ import print_function
  7. import sys
  8. print(sys.byteorder)