Thanks for the lead. I have big log file nearly 2 GB.
Lets say I just want to extract the ;name' field only eg.
AutoAuthOSUserSubmit.The code is failing with errors. Can you just give a
tested code only for the name field. Other fields I will try to work out.
---
On Saturday, August 27,
import re
infile = open('document.txt','r')
outfile= open('output.txt','w')
copy = False
for line in infile:
if line.strip() == "--operation():":
bucket = []
copy = True
elif line.strip() == "StartOperation":
for strings in bucket:
outfile.write( strin