struct module

nobody root at [127.0.0.1]
Sat Oct 20 05:36:30 CEST 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