Guest User

Untitled

a guest
Mar 22nd, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. twitterData = "Tweets and things"
  2.  
  3. with open("c:\filepath\filename.txt", "a") as file:
  4. file.write("n"+twitterData)
  5. file.close()
  6.  
  7. with open("c:\filepath\filename.txt", "r") as file:
  8. data = file.read()
  9. file.close()
Add Comment
Please, Sign In to add comment