struct module

nobody root at [127.0.0.1]
Fri Oct 19 23:36:30 EDT 2001


Can someone tell me what I'm missing here?

>>> struct.calcsize('H')
2
>>> struct.calcsize('B')
1
>>> struct.calcsize('HB')
3

wait for it...

>>> struct.calcsize('BH')
4

?






More information about the Python-list mailing list