def copy_int_little(src, dest):
 word = src.read(4)
 dest.write(word)
 (val,) = unpack('<I', word)
 return val

def copy_int_little ( src , dest ) : word = src . read ( 4 ) dest . write ( word ) ( val , ) = unpack ( '<I' , word ) return val
copy a little-endian unsigned 4-byte int between files .