[Tutor] a problem wiht struct module

Mohammad Moghimi m.moghimi at gmail.com
Thu Jul 7 13:17:18 CEST 2005


Hi there
can you describe why last two lines print different numbers

---------------------------------------------------------------
import struct
struct.calcsize("lH")
struct.calcsize("Hl")
---------------------------------------------------------------

-- Mohammad
do you Python?!!


More information about the Tutor mailing list