the function :
f = open(\'image.txt\', \'wb\') byte_arr = getbytes(read_bits()) byte_list = list(byte_arr) print(byte_list) some_bytes = b