SHARE
TWEET

Untitled

a guest Mar 25th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for i in range(0, len(newArr), 100):
  2.         while newArr[i] != " ":
  3.             i -= 1
  4.         newArr[i] = "\n"
  5.     newStr = "".join(newArr)
  6.     newFile = open("C:\\Users\\User\\Desktop\\newText.txt", "w")
  7.     newFile.write(newStr)
  8.     newFile.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