Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. a=open("log1.txt", 'r')
  2. for line in a:
  3. if re.match('(d+)' , line):
  4. print(line, file=open('output.txt', 'a'))
  5.  
  6. a=open("log1.txt", 'r')
  7. for line in a:
  8. if re.match('(d+)' , line):
  9. print(line, file=open('output.txt', 'a'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement