def _func(msg,verbosity = 0): if opus.verbosity > verbosity - 1: print(msg) opus.output = _func def _func(_scriptPath): opus.output("executing: " +_scriptPath,1) _return = True with open(_scriptPath) as _scriptFile: exec(_scriptFile.read()) return _return opus.execPy = _func def _func(_scriptPath): opus.output("executing: " +_scriptPath,1) _return = True with open(_scriptPath) as _scriptFile: exec(_scriptFile.read()) return _return opus.execPy = _func