Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- twitterData = "Tweets and things"
- with open("c:\filepath\filename.txt", "a") as file:
- file.write("n"+twitterData)
- file.close()
- with open("c:\filepath\filename.txt", "r") as file:
- data = file.read()
- file.close()
Add Comment
Please, Sign In to add comment