Contents

# Python programming examples

Getting Session Information

Identifying the operating system

Importing Python Modules

Input/Output to Screen

Calling Basic Macros from Python

Running Python Interactive Console

## Event Handling, Listeners

Listening to Document Events

Opening a Dialog with Python

Creating a Dialog Handler

Creating Event Listeners

## Calc examples

Reading and Writing values to Ranges

Formatting Borders in Calc with Macros

Related Topics

Calling Python Scripts from Basic

LibreOffice Python Scripts Help

Please support us!