search for word in list strings python code example
Example: how to find a word in list python
keyword_list = ['motorcycle', 'bike', 'cycle', 'dirtbike']
if any(word in all_text for word in keyword_list):
print 'found one of em'
keyword_list = ['motorcycle', 'bike', 'cycle', 'dirtbike']
if any(word in all_text for word in keyword_list):
print 'found one of em'