64-bit platform

Aaron Bingham bingham at cenix-bioscience.com
Wed Nov 24 07:22:49 EST 2004


Thomas Heller wrote:

>Can some kind soul please tell me what the output of this little script
>on a 64-bit Linux platform is:
>
>import struct
>print map(struct.calcsize, "bhilqP")
>  
>
For me:

 >>> import struct
 >>> print map(struct.calcsize, "bhilqP")
[1, 2, 4, 8, 8, 8]

Aaron




More information about the Python-list mailing list