Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Append to a file & Write to a file
- Create a file called ourtest.txt with the contents "our file"
- myFile = open('/home/user/Documents/ourtest.txt', 'a')
- myFile.write('our test')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement