piglot.utils.solver_utils.load_module_from_file

load_module_from_file(filename: str, attribute) object[source]

Loads a module from a given file.

Parameters

filenamestr

Path for the file.

attributestr

Attribute to load from the module.

Returns

object

Module loaded from the file.