Dr-L0v3

Simple DB Lookup

Dec 21st, 2017
322
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. #! python !#
  2. # Usage: python DB.py google.sql
  3. # Simple DB Lookup
  4.  
  5. import sys
  6.  
  7. ho = raw_input("String To Search: ")
  8.  
  9. with open(sys.argv[1], 'r') as yeet:
  10.     for L in yeet:
  11.         if ho in L:
  12.             print L
Advertisement
Add Comment
Please, Sign In to add comment