Guest User

Untitled

a guest
Mar 8th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. f = open('sumFile2', 'r')
  2. f2 = open('tempSum2', 'w')
  3.  
  4. import re
  5. for line in f:
  6. line2 = re.sub(r'\s' , '\n', line)
  7. f2.write(line2)
  8.  
  9. f.close()
  10. f2.close()
Add Comment
Please, Sign In to add comment