LibreOffice Python Scripts Help

LibreOffice provides an Application Programming Interface (API) that allows controlling the LibreOffice components with different programming languages by using the LibreOffice Software Development Kit (SDK). For more information about the LibreOffice API and the Software Development Kit, visit

This help section explains the most common Python script functions for LibreOffice. For more in-depth information please refer to the Designing & Developing Python Applications on the Wiki.

Working with Python Scripts in LibreOffice

You can execute Python scripts choosing Tools - Macros - Run Macro. 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 LibreOffice.

Obsługa skryptów w pakiecie LibreOffice

Setting up an Integrated Development Environment (IDE) for Python

Python Scripts Organization and Location

Running Python Interactive Console

Programming with Python Scripts

Python programming examples

Creating Python Scripts with ScriptForge

Pomoc dotycząca korzystania z pomocy

Pomoc odnosi się do domyślnych ustawień programu działającego w systemie z również domyślnymi ustawieniami. Opisy kolorów, ruchów myszy i innych elementów możliwych do konfigurowania mogą się różnić od tych występujących w programie i systemie.

Please support us!