I am newbie in python. I have a file with list of pattern and a large file with these patterns. I want to extract lines with these patterns and two lines above these match,