Skip to content

Instantly share code, notes, and snippets.

@marquesghm
Created May 2, 2018 19:54
Show Gist options
  • Save marquesghm/e5281d3df9b53742171f7e8340b9e7f4 to your computer and use it in GitHub Desktop.
Save marquesghm/e5281d3df9b53742171f7e8340b9e7f4 to your computer and use it in GitHub Desktop.
[Python] Parser File
f1 = open('log.txt','r')
f2 = open('parsedLog.txt','w')
for l in f1:
if 'eduroam' in l:
f2.write(l)
print(l)
f1.close()
f2.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment