A slightly simpler solution:
>>> "7061756c".decode("hex")
'paul'
More Related Contents:
- Convert binary to ASCII and vice versa
- How to get the ASCII value of a character
- What’s the correct way to convert bytes to a hex string in Python 3?
- Replace non-ASCII characters with a single space
- How can I remove non-ASCII characters but leave periods and spaces?
- How to check if a string in Python is in ASCII?
- Convert Unicode to ASCII without errors in Python
- Python string prints as [u’String’]
- Why does Python print unicode characters when the default encoding is ASCII?
- Python UnicodeDecodeError – Am I misunderstanding encode?
- How can I pretty-print ASCII tables with Python? [closed]
- Character reading from file in Python
- Print a string as hexadecimal bytes
- Non-ASCII characters in Matplotlib
- Converting an RGB color tuple to a hexidecimal string
- Convert hex to binary
- Convert hex to float
- Finding the Values of the Arrow Keys in Python: Why are they triples?
- Python 3.1.1 string to hex
- In Python, how do I decode GZIP encoding?
- hex/binary string conversion in Swift
- Decorating Hex function to pad zeros
- Python – Unicode to ASCII conversion
- Bitwise XOR of hexadecimal numbers
- How do I treat an ASCII string as unicode and unescape the escaped characters in it in python?
- What’s 0xFF for in cv2.waitKey(1)?
- Hex string to signed int in Python
- Python Hexadecimal
- Python convert decimal to hex
- How do I convert a list of ascii values to a string in python?