import player import ast file = open("game.HEGF", 'r') file = file.read() file = ast.literal_eval(file) temp = fAPIPLUG=player.loadplugins(False) player.execgame(file, fAPIPLUG=temp[0], fRUNPLUG=temp[1])