hex
hex(expr)
 
This function returns the decimal value of expr interpreted as a hex string. For example, the value of hex("f") is 15.
这对您有帮助吗?