def file_writable(file_path):
	try:
		outfile = open(file_path, "w")
		outfile.close()
		os.remove(file_path)
		return True
	except __HOLE__:
		return False

### determine whether directory exists
dataset/ETHPy150Open joliva/nlp-nltk-demo/code/nlputils.py/file_writable