Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(3)  |  Derive(0)  |  Import(1)

src/o/p/openfisca-HEAD/src/widgets/MainWindow.py   openfisca(Download)
from france.data import InputTable
from france.model import ModelFrance
from core.datatable import DataTable, SystemSf
from core.utils import gen_output_data, gen_aggregate_output, Scenario
from core.qthelpers import create_action, add_actions, get_icon
        input_table = DataTable(InputTable, scenario = self.scenario)
 
        population_courant = SystemSf(ModelFrance, P_courant, P_default)
        population_courant.set_inputs(input_table)
        data_courant = gen_output_data(population_courant)
 
        if self.reforme:
            population_default = SystemSf(ModelFrance, P_default, P_default)
        input_table = self.survey
 
        output_table = SystemSf(ModelFrance, P_courant, P_default)
        output_table.set_inputs(input_table)