Wednesday, May 16, 2012

hex string to character in python

i have a hex string like:

data = "437c2123"

i want to convert HEX to CHARACTER according to the ASCII table
the result should be like:

data_con = "C|!#"

Can anyone tell me how to do this?
Any suggestion will be appreciated. Thanks.

No comments:

Post a Comment