Advertisement
Guest User

Untitled

a guest
Oct 24th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. file = open("Whereami.txt", "w")
  2.  
  3. file.write("hello world in the new file
  4. ")
  5.  
  6. file.write("and another line
  7. ")
  8.  
  9. file.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement