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