Answers for "decode ascii python"

6

string to ascii value python

>>> s = 'hi'
>>> [ord(c) for c in s]
[104, 105]
Posted by: Guest on June-20-2020
-1

how to use decode method on python to convert hex to ascii

hex_string = "0x616263"[2:]
Posted by: Guest on November-11-2020

Python Answers by Framework

Browse Popular Code Answers by Language