question on struct.calcsize
Marcus Stojek
stojek at part-gmbh.de
Thu Mar 28 10:58:26 EST 2002
More information about the Python-list mailing list
Thu Mar 28 10:58:26 EST 2002
- Previous message (by thread): Pippy
- Next message (by thread): question on struct.calcsize
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): Pippy
- Next message (by thread): question on struct.calcsize
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list