def script_activatePythonConsole(self,gesture): if globalVars.appArgs.secure: return import pythonConsole if not pythonConsole.consoleUI: pythonConsole.initialize() pythonConsole.consoleUI.updateNamespaceSnapshotVars() pythonConsole.activate()
def onPythonConsoleCommand(self, evt): import pythonConsole if not pythonConsole.consoleUI: pythonConsole.initialize() pythonConsole.activate()