Advertisement
rfmonk

simple grep or find script in python

Dec 15th, 2012
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.09 KB | None | 0 0
  1. #!/usr/bin/env python
  2.  
  3. for line in open('pynotes.txt'):
  4.     if "python" in line:
  5.         print line,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement