human
Search for string in txt file
assistant
Here is some code to search for string 'blabla' in txt file 'example.txt'

f = open('example.txt')
s = mmap.mmap(f.fileno(), 0, access=mmap.ACCESS_READ)
if (s.find('blabla') != (-1)):
    pass

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.