Robert Klemme: > Kalman Noel wrote: >> Tim Pease: >>> str = self.read( 4 ) >> Yet you cannot be sure that sizeof(int) is 4. > str = read( [0].pack('N').length ) Hey, only now I learnt that sizeof(int) is 4 even on my amd64 machine. I had to check that with a C program to make me believe it. Kalman