SHARE
TWEET

Untitled

a guest Aug 18th, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. makeFile = open("pie.txt","w")
  2.  
  3. makeFile.write("Hello!")
  4.  
  5. makeFile.close()
  6.  
  7.  
  8. makeFile = open("pie.txt","r")
  9.  
  10. read1 = makeFile.read()
  11. read2 = makeFile.read()
  12.  
  13. print("first variable:",read1)
  14. print("second variable:",read2)
  15.  
  16. makeFile.close()
  17. makeFile = open("pie.txt","w")
  18.  
  19. input("Press enter to finnish program")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top