I have a list of Hex value variables in my python code.
I need to convert into ASCII string.
Can someone please suggest to me, how to convert it?
HexList = ['0x0', '0x30', '0x32', '0x31', '0x30', '0x42', '0x32', '0x33', '0x38', '0x30', '0x30', '0x30', '0x31', '0x30', '0x32','0x43','0x30']
Expected value of Ascii string after the conversion= 0210B238000102C0
''.join(chr(int(c, 16)) for c in HexList[1:])bytearray.fromhex("70 61 75 6C").decode()where 70 61 75 6C can be replaced