struct.pack behavior
Steven Clark
steven.p.clark at gmail.com
Wed Jun 25 19:00:32 EDT 2008
Can anyone explain to me why
struct.pack('HB',1,2) gives 3 bytes, whereas struct.pack('BH',1,2)
gives 4 bytes?
-Steven
More information about the Python-list
mailing list