If
VEGETABLE_VAR_NAME = \'/bcd/{}\' def mathod(prefix): path = \'{}_VAR_NAME\'.format(prefix) value_path = path.format(\'mno\') p