Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. import sys
  2.  
  3. f = open(sys.argv[1], "wr")
  4.  
  5. for line in f:
  6. if len(line.strip())==0:
  7. line.replace("n", "empty")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement