question on struct.calcsize

Marcus Stojek stojek at part-gmbh.de
Thu Mar 28 10:58:26 EST 2002


Hi,
could anyone explain the following, please.
(Win NT, Python 2.1.1)

>>> from struct import *
>>> calcsize("i")
4
>>> calcsize("s")
1
>>> calcsize("si")
8

Thanks, 
Marcus



More information about the Python-list mailing list