That second non-entry should have been: >>> d = struct.pack( 'B'*len(myints), *myints ) Forgot to copy back the fixed version from the interpreter :) . Sigh, Mike Mike C. Fletcher wrote: ... > >>> struct.pack( ">"*len(myints), *myints ) ...