def run(self, edit):
		filepath = self.view.file_name().encode("utf-8")
		#print (filepath)  maybe you are not waiting for it to load all
		instance = HackerEarth(filepath)

		# HackerEarth API response and text to write in output
		response = instance.Contact()

		"""
		creates file for output response, if not present already
		output file will have a prefix 'output_' to main file
		"""

		# shows error in quick panel
		if(response in 'er'):
			show_error(self.view.window, [response['er']])
		else:
			output_text = instance.Output(response)

			# shows the output buffer/file
			output = HacklimeOutput(self.view, file_handler(filepath), output_text)
			output.show()


# class for code-run command
dataset/ETHPy150Open pravj/HackLime/HackLime.py/HacklimeCompileCommand.run/swapped operands of `in`