num2 = '0x41d26580'
low_word = int(num1, 16)
high_word = int(num2, 16)
representation = struct.pack('>II', high_word, low_word)
result = struct.unpack('>d', representation)
result[0]
Converting from a C double transferred in two hex strings