def get_file_timestamp(fn):
	from frappe.utils import cint

	try:
		return str(cint(os.stat(fn).st_mtime))
	except OSError, e:
		if e.args[0]!=2:
			raise
		else:
			return None

# to be deprecated
Get result of an existing query.
dataset/ETHPy150Open frappe/frappe/frappe/utils/__init__.py/get_file_timestamp--crossover with--dataset/ETHPy150Open getredash/redash/redash/query_runner/python.py/Python.get_query_result