Previous topic

add_section

Next topic

get

This Page

evaluateSection

NepidemiXConfigParser.evaluateSection(section)

Interpretate option values in a section as expressions, evaluates them, and return a the results as a dictionary.

The options are evaluated in order, so that already defined options can be used in the expressions for sequential ones.

Parameters :

section : str

Name of the section.

Returns :

resDict : dict

A dictionary with options as keys and the result from evaluation as values.