It's this: http://docs.python.org/2/library/struct.html#byte-order-size-and-alignment