Contact: aviboots(AT)netvision.net.il
43,903 questions
57,300 answers
573 users
lst = [1, 2, 3, 4, 5] arr = bytes(lst) print(arr) ''' run: b'\x01\x02\x03\x04\x05' '''