Just van Rossum
just at letterror.com
Sat Oct 20 12:58:58 CEST 2001
Kalle Svensson wrote:
> > > H has a two-byte alignment requirement. There's one byte for the "B",
> > then
> > > it has to throw in a pad byte to get the correct word alignment for the
> > > "H".
> > How do I disable that?
> You don't.
Sure you can, use one of these special format characters: = ! < >
See http://www.python.org/doc/lib/module-struct.html for their exact meaning.
More information about the Python-list