struct calcsize discrepency?
Glen Rice
glen.rice.noaa at gmail.com
Sun Dec 4 09:25:16 EST 2011
More information about the Python-list mailing list
Sun Dec 4 09:25:16 EST 2011
- Previous message (by thread): How to generate java .properties files in python
- Next message (by thread): struct calcsize discrepency?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In IPython:
>import struct
>struct.calcsize('4s')
4
>struct.calcsize('Q')
8
>struct.calcsize('4sQ')
16
This doesn't make sense to me. Can anyone explain?
- Previous message (by thread): How to generate java .properties files in python
- Next message (by thread): struct calcsize discrepency?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list