MECO™ API Reference
|
[ ABSTRACT CLASS ] - Class to operate on Python modules. More...
Public Member Functions | |
def | __init__ (self, module=None) |
Constructor. More... | |
def | name (self) |
Property. More... | |
def | allLib (self) |
Property. More... | |
def | module (self) |
Property. More... | |
def | set (self, module=None) |
Set Python module. More... | |
def | initialize (self) |
Initialize the attributes of the Python module. More... | |
Static Public Member Functions | |
def | importModule (module) |
Import Python module. More... | |
Static Public Attributes | |
MODULE = None | |
[ str ] - Default Python module import name. | |
[ ABSTRACT CLASS ] - Class to operate on Python modules.
def mMeco.abstract.operatorAbs.Operator.__init__ | ( | self, | |
module = None |
|||
) |
Constructor.
module | [ str | None | in ] - Python module import path or Python module file path. |
N/A |
Reimplemented in mMeco.operators.packageGlobalEnvOpt.PackageGlobalEnvOperator, mMeco.operators.settingsOpt.SettingsOperator, and mMeco.operators.callbackOpt.CallbackOperator.
def mMeco.abstract.operatorAbs.Operator.name | ( | self | ) |
Property.
N/A |
def mMeco.abstract.operatorAbs.Operator.allLib | ( | self | ) |
Property.
N/A |
def mMeco.abstract.operatorAbs.Operator.module | ( | self | ) |
Property.
N/A |
def mMeco.abstract.operatorAbs.Operator.set | ( | self, | |
module = None |
|||
) |
Set Python module.
module | [ str | None | in ] - Python module import path or Python module file path. |
N/A |
def mMeco.abstract.operatorAbs.Operator.initialize | ( | self | ) |
Initialize the attributes of the Python module.
N/A |
|
static |
Import Python module.
module | [ str | None | in ] - Python module import path or Python module file path. |
IOError | - If module provided as file and it doesn't exist. |