Advertisement
LNO_LiGhT

Simple DB Lookup

Apr 9th, 2017
1,646
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 | by LiGhT
  4. import sys
  5.  
  6. ho = raw_input("String To Search: ")
  7.  
  8. with open(sys.argv[1], 'r') as yeet:
  9.     for L in yeet:
  10.         if ho in L:
  11.             print L
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement