def func_set_api_key():
	try:
		if ( os.path.exists(os.path.expanduser('~') + '/.virustotal' ) ): 
			with open( os.path.expanduser('~') + '/.virustotal' ) as handle_api_file:
				return func_parse_api_key(handle_api_file.readlines())
		elif (  os.path.exists('.virustotal' ) ): 
			with open( '.virustotal' ) as handle_api_file:
				return func_parse_api_key(handle_api_file.readlines())
		else:
			sys.exit(" [X] Please Put API Key in ~/.virustotal or .virustotal")
	except __HOLE__:
		sys.exit(" [X] Please Put API Key in ~/.virustotal or .virustotal")

# Parse the API key and exit if the API key contains any non [A-Za-z0-9]+
dataset/ETHPy150Open CrowdStrike/CrowdFMS/lib/core.py/func_set_api_key