Pastebin PRO Accounts AUTUMN SPECIAL! For a limited time only get 40% discount on a LIFETIME PRO account! Offer Ends Soon!
SHARE
TWEET
Untitled
a guest
Oct 7th, 2016
37
Never
- import urllib
- import os.path
- first = 1
- last = 1404
- while True:
- search_string = raw_input('Search for text: ').lower()
- for next in range(first, last):
- seq = "%08d" % next
- local_fname = './'+seq+'.EML.html'
- try:
- if search_string in open(local_fname).read().lower():
- print seq
- except:
- pass
RAW Paste Data
