Advertisement
Guest User

Untitled

a guest
Jun 27th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. with open('myfile.txt', 'w') as f:
  2. f.write('This is the first line.\n')
  3. f.write('This is the second line.\n')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement