def writetxt(data,location):
	with open(location,'w') as f:
		f.writelines(data)
	print location % 'Wrote text file to location %s'


# writes the html file to a document then opens it up in safari (beware it will call a terminal command)
dataset/ETHPy150Open murphy214/berrl/berrl/piperealtime.py/writetxt/swapped operands of `%`