diff options
author | LibreOfficiant <LibreOfficiant@sfr.fr> | 2019-09-19 16:20:35 +0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2019-09-19 16:58:34 +0200 |
commit | accc6a9e1478521bc51f5c826a4499d098d1e5c5 (patch) | |
tree | 849573f3b629076ec7156a08deed5a43987e770e | |
parent | e391dc80495db243b678cb480fffa72f42b8aeae (diff) |
Add a warning detailing how to check Python's presence.
Change-Id: I31a1f4a99742b05f6f7a0c1b9904e78475ea9a4e
Reviewed-on: https://gerrit.libreoffice.org/79177
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r-- | source/text/sbasic/python/main0000.xhp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/text/sbasic/python/main0000.xhp b/source/text/sbasic/python/main0000.xhp index 44b8390a62..5faefe428e 100644 --- a/source/text/sbasic/python/main0000.xhp +++ b/source/text/sbasic/python/main0000.xhp @@ -28,6 +28,7 @@ </section> <h2 id="hd_id3146957">Working with Python Scripts in %PRODUCTNAME</h2> <paragraph role="paragraph" id="N0102">You can execute Python scripts choosing <menuitem>Tools - Macros - Run Macro</menuitem>. Editing scripts can be done with your preferred text editor. Python scripts are present in various locations detailed hereafter. You can refer to Programming examples for macros illustrating how to run the Python interactive console from %PRODUCTNAME.</paragraph> + <warning id="par_id131568902936659">The %PRODUCTNAME scripting framework for Python is optional on some GNU/Linux distributions. If it is installed, selecting <menuitem>Tools – Macros - Run Macro...</menuitem> and checking <literal>%PRODUCTNAME Macros</literal> for the presence of <literal>HelloWorld – HelloWorldPython</literal> macro is sufficient. If absent, please refer to your distribution documentation in order to install the %PRODUCTNAME scripting framework for Python.</warning> <embed href="text/shared/guide/scripting.xhp#scripting"/> <embed href="text/sbasic/python/python_ide.xhp#pythonideh1"/> <embed href="text/sbasic/python/python_locations.xhp#pythonlocations1"/> |