def file_api(self, file_name): a, b = vm.evaluate(file_name, "file") return a, b
def cli_api(self, instructions_string): a, b = vm.evaluate(instructions_string, "string") return a, b
from kite import vm import sys if len(sys.argv) == 2: a, b = vm.evaluate(sys.argv[1], "file") print(b) else: raise Exception("Add a file to run")