I have a list with keywords id = ['pop','ppp','cre'] and now I am going through a bunch of files/large strings and if any of these keywords are in these files than I have to be able to do something...
like:
id = ['pop','ppp','cre']
if id in dataset:
print id
But i think now all of these 3 or later maybe more have to be in the dataset and not just only one.
id, or all of the keywords inid?idas a variable name, since it shadows the builtin functionid().