<filename>dieterpy/tools/load_manage.py<gh_stars>0
# DIETERpy is electricity market model developed by the research group
# Transformation of the Energy Economy at DIW Berlin (German Institute of Economic Research)
# copyright 2021, <NAME>, <NAME>, <NAME>,
# <NAME>, <NAME>
"""

"""
import importlib.util


def module_from_file(module_name, file_path):
    spec = importlib.util.spec_from_file_location(module_name, file_path)
    module = importlib.util.module_from_spec(spec)
    spec.loader.exec_module(module)
    return module

<filename>dieterpy/tools/load_manage.py<gh_stars>0
# DIETERpy is electricity market model developed by the research group
# Transformation of the Energy Economy at DIW Berlin (German Institute of Economic Research)
# copyright 2021, <NAME>, <NAME>, <NAME>,
# <NAME>, <NAME>
"""

"""
import importlib.util


def module_from_file(module_name, file_path):
    spec = importlib.util.spec_from_file_location(module_name, file_path)
    module = importlib.util.module_from_spec(spec)
    spec.loader.exec_module(module)
    return module

# DIETERpy is electricity market model developed by the research group # Transformation of the Energy Economy at DIW Berlin (German Institute of Economic Research) # copyright 2021, <NAME>, <NAME>, <NAME>, # <NAME>, <NAME>