convert a ip to hex by python,"hex(8).replace('0x', '')"