import os.path
import time

while True:

	time.sleep(2)
	save_path1=raw_input("Where to save: ") #EX: The Desktop would be /Users/"Your Name"/Desktop
	str (save_path1)
	
	

	time.sleep(3)
	save_path = save_path1
	time.sleep(1)



	name_of_file = raw_input("What is the name of the file: ")
	verify=raw_input("This could delete or loose files. Type your password to continue. ")
	if verify == "william": #change quoted text to your own password
		
		print "Naming File..."
		time.sleep(3.5)
		print "Saving File..."
		time.sleep(2.5)
		completeName = os.path.join(save_path, name_of_file+".txt")  #Change .txt to something else to create a different file. You could try .doc, .pdf, or what ever you whant       



		file1 = open(completeName, "w")

		print "SAVED!"

		toFile = raw_input("Write what you want into the field: ")

		print "Writing Files..."
		time.sleep(.5)
		print "Writing Text..."
		time.sleep(2)
		print "Verifing Files..."
		time.sleep(1.5)
		print "Saving Current Progress..."
		time.sleep(1)
		print "Closing File..."
		time.sleep(3)

		file1.write(toFile)

		file1.close() 
		print "Process Complete!"
		
		time.sleep(3)
		print "Program Made by mrw122015"
		print "Thank You!"
		time.sleep(1)

	elif verify != "william":
		print "Unable to Verify."
		print "File Not Created"
	
		


time.sleep(3)
print "Program Made by mrw122015"
print "Thank You!"
