human
How to convert hex string to integer in Python?
assistant
Here is some code to convert a hex string `x` to string

y = str(int(x, 16))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.