s = '0200A8C0'
octets = [s[i:i + 2] for i in range(0, len(s), 2)]
ip = [int(i, 16) for i in reversed(octets)]
ip_formatted = '.'.join(str(i) for i in ip)
print(ip_formatted)
Convert "little endian" hex string to IP address in Python