def getServer(): global script_server if script_server is None: script_server = common.menu_utils.GetScriptServer() common.startScript("NERO_Battle/menu.py") return script_server
def ModTick(dt): common.startScript("Hw5/menu.py") data = script_server.read_data() while data: Hw5.module.parseInput(data.strip()) data = script_server.read_data()