def load_template(name, stdout = sys.stdout, stderr = sys.stderr):
    """ Reads the specified template file. Only the name needs to be specified. The file should be located
    in the config_templates folder. """
    path = "weblab" + os.sep + "admin" + os.sep + "config_templates" + os.sep % name
    try:
        f = file(path, "r")
        template = f.read()
        f.close()
    except:
        print("Error: Could not load template file %s. Probably couldn't be found." % path, file=stderr)
    return template
dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/weblab/admin/script/creation.py/load_template/operator `+` -> `%`