Python Scripts Organization and Location

The Python script files are stored in the filesystem, in folders controlled by LibreOffice. The macros can be started at installation, user or file level.

Python Betik Konumları

Refer to Getting Session Information in order to get programmatic access to Python script locations.

LibreOffice Macros container

Existing macros in this location (container) were copied by the installation program and are available to every computer user, and any open document can access macros stored the container. You need administrative rights to store or edit macros here.

The LibreOffice Macros container location in the file system depends on the operating system:

Makrolarım

This container is accessible only by the LibreOffice user. Any open document can access macros stored the container. Macros in this location are stored in the LibreOffice user profile.

The My Macros container location is in the user space and depends on the operating system:

Belge makroları

Belge makroları belgeye gömülüdür ve yalnızca belge açıkken erişilebilir.

Kütüphaneler, Modüller ve Makrolar

BASIC makroları gibi Python makroları da kütüphanelerde, modüllerde ve makrolarda düzenlenebilir.

Bir Python Kütüphanesi Oluşturmak

Kütüphaneler, konteyner ağacındaki klasörlerdir. Bir kitaplık oluşturmak için hedef konteynerde bir klasör ekleyin. Kütüphane ismi klasör ismidir.

Bir Python Modülü Oluşturmak

A module is a python file in the library or the container. Create a module adding a file in the container.

Python makroları

Bir makro, modülde bir python nesnesidir.

Please support us!