Following this question, I have decided to use Python instead of Basic as a scripting language. Now trying to follow tutorials here and here, I can’t find the Python executable in the path:
/Applications/LibreOffice.app/Contents/MacOS/python
My environment is :
- LibreOffice 6.3.2.2 98b30e735bda24bc04ab42594c85f7fd8be07b9c
- macOS Mojave Version 10.14.6
I would appreciate it if you could help me know where can I find the Python executable, or install it if required.
P.S.1. So far I have installed the APSO - Alternative Script Organizer for Python and then ran the plugin:
and then ran the Python shell:
and then from here ran the commands:
import sys
print(sys.executable)
which weirdly enough returns:
/Applications/LibreOffice.app/Contents/MacOS/soffice
P.S.2. It seems that my question is not properly understood. Please consider that I have no problem finding other Python executables for example using which python
or which python3
. My issue is that there is no python executable in the path described in the tutorials!