title: using python, Search for a text and print next few lines in python
body: <p>Currently I am new to Python 3.x coding and looking for some help in text search. </p>
  
  <p>I have large file with more than 8000 lines and need to find a text within this file.Once text found, need subsequent 3 lines along with (text)line redirected to new file.</p>
  
  <p>Any help in this will be greatly appreciated.</p>