Searching a list of words from a large file in python
===

I am new python.I have a list of words and a very large file.Would like to delete all the lines if any of the words present on the list is present.

The list of words are given as sorted and can be feed during initialization time.Would like to know as what would be the best approach to solve this problem.If I do a linear search it is taking a lot of time, as the file is big and checking for each word in file and corresponding list lookup....

Please suggest me some better approach.
