Files
odfstudio/wizards/source/scriptforge/python
Jean-Pierre Ledure deb51a303d ScriptForge - (scriptforge.py) SF_Exception.PythonShell() method
The PythonShell() method invokes the console() method
of the APSO extension.
It accepts 1 argument, which is a dictionary of variables
that the user wants transferred to the console to become part
of the Python context there.

Typical usage:
    exc.PythonShell( {**globals(), **locals()} )

Subsequent print() statements executed in the user script
are displayed in the console.

An (untranslated - english) error message is raised when
the APSO extension is not installed.

Change-Id: I1b620bc041e1293234ddfd789e0ce8892dc87169
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114561
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-04-24 14:54:43 +02:00
..