3 ms·
join will work fine on a list of bytes, and the bytes object is available for converting a list of ints: >>> b'a'.join([b'b',b'e']) b'bae' >>> bytes([119
by maxerickson 13y ago
join will work fine on a list of bytes, and the bytes object is available for converting a list of ints:
>>> b'a'.join([b'b',b'e'])
b'bae'
>>> bytes([119, 104, 101, 101, 33])
b'whee!'
>>>