Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a=open("log1.txt", 'r')
- for line in a:
- if re.match('(d+)' , line):
- print(line, file=open('output.txt', 'a'))
- a=open("log1.txt", 'r')
- for line in a:
- if re.match('(d+)' , line):
- print(line, file=open('output.txt', 'a'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement