daily pastebin goal
64%
SHARE
TWEET

Untitled

a guest Mar 8th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top