Reputation: 1425
I have LibreOffice installed on a Windows machine. LibreOffice comes with a bundled python.exe (version 3.3) to allow you to write LibreOffice macros in Python. This works fine. But the bundled python routines don't come with the IDLE python ide as far as I can see.
1) If I download and install Python on my machine will that interfere with the execution of LibreOffice python macros (by changing Python environmental variables, register settings etc.?
or
2) Is there a way to download IDLE or another free Python IDE and have it work with the Python bundled into LibreOffice?
Upvotes: 1
Views: 626
Reputation: 22443
LibreOffice comes bundled with it's own copy of python. (Python 3.3 I think)
So the answer to your question is no, it will not.
I have found that a simple way of debugging python macros in libreoffice is to run libreoffice from the command line and put print commands in the macros. This at least allows you to trace where you are and what key values are as the print commands echo onto the terminal screen.
Upvotes: 0
Reputation: 102852
Installing a separate copy of Python (from, for example, python.org), will not interfere with copies of Python bundled with other programs (LibreOffice, Sublime Text, Blender, Anaconda, etc.). They are installed in separate directories, and in general use separate environment variables.
I'm not that familiar with the LibreOffice version of Python, but you don't need IDLE to write Python programs - any text editor will do, although I have a personal preference for Sublime. I would assume that Libre has functionality like the Python interactive interpreter for iterative development and testing; check the docs for details.
Upvotes: 1
Reputation: 10082
Upvotes: 0