#deletes wahji content
import os, shutil, platform

def rem(loc):

	os.chdir(loc)
	
	print "deleting content"
		
	"""delete them folder and its contents"""
	shutil.rmtree("themes")

	"""delete .wahji file"""
	os.remove(".wahji")

	"""delete 4040.html file"""
	os.remove("404.html")

	"""delete content folder"""
	shutil.rmtree("content")


#deletes wahji content
import os, shutil, platform

def rem(loc):

	os.chdir(loc)
	
	site = raw_input("Input site folder: ")

	print "Are you sure you want to delete", site, "Y/N: "
	confirm = raw_input()
	
	if confirm == "Y" or confirm == "y":
		"""delete site folder"""
		shutil.rmtree(site)
		print "Deleting site"

	elif confirm == "N" or confirm == "n":
		print "Site folder was not deleted"


Remove now asks for site file to be deleted
Remove now asks for site file to be deleted
