Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 16 lines (12 sloc) 0.353 kb
import os
import time
import settings
#recsread = 0
recsmatch = 0
with open(settings.BIG_FILE, "r") as fh_in:
for line in fh_in:
#recsread += 1
if settings.TARGET_USERNAME in line: # What is the big O of this operation?
recsmatch += 1
#print("{r} {m}".format(r=recsread, m=recsmatch))
print("{m}".format(m=recsmatch))
Jump to Line
Something went wrong with that request. Please try again.