convert string to hex in python,"int('0x77', 16)"