Answers for "byte to ascii python"

7

string to ascii value python

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

python binary to ascii

import binascii
bin(int(binascii.hexlify('hello'), 16))
Posted by: Guest on March-20-2021

Python Answers by Framework

Browse Popular Code Answers by Language