convert hex string '0xdeadbeef' to decimal,ast.literal_eval('0xdeadbeef')