[Python-Dev] struct.getorder() ?

Fred L. Drake, Jr. fdrake@acm.org
Mon, 4 Jun 2001 13:42:28 -0400 (EDT)


Greg Wilson writes:
 > The 'struct' module allows packing and unpacking
 > orders to be specified, but doesn't provide a hook
 > to report on the order used by the machine the

  Python 2.0 introduced sys.byteorder; check it out:

	http://www.python.org/doc/current/lib/module-sys.html


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Digital Creations