1 2 3 4 5 6
cdef bytes bytes_string = b'hello world' cdef char c for c in bytes_string: if c == 'A': print("Found the letter A")