How to get the characters from a byte array encoded in python -
i have byte array encoded in utf-8 format. need characters , write file. please b byte array
b=[1,1,-127,-125]
i need convert each byte character
python 2: can use chr()
function. 1 more hint: doesn't matter encoding list of integers has.
python 3: can create instance of bytes()
list.
Comments
Post a Comment