Python3Script Xojo Plugin

Python3Script.SetConsoleOutput Method

Use this method to register a redirect of console output from Python scripts.

shared SetConsoleOutput(
   output as Python3ScriptConsoleOutput)

Parameters

output
A instance of Python3ScriptConsole class or subclass of Python3ScriptConsole. Usually you will want to pass subclass of the Python3ScriptConsole class.

Remarks

A instance of Python3ScriptConsole class or subclass of Python3ScriptConsole. Usually you will want to pass subclass of the Python3ScriptConsole class.

If SetConsoleOutput is called more than once then its the last call that is the only one that has effect.

See Also

Python3Script Class