LibreOffice SymbolLibreOffice Symbol

Aidez-nous !

Configurer un Environnement de Développement Intégré (EDI) pour Python

L'écriture de macros Python nécessite des étapes de configuration supplémentaires pour définir un EDI à votre convenance.

Unlike Basic language macros development in LibreOfficeDev, developing Python scripts for LibreOfficeDev requires to configure an external Integrated Development Environment (IDE). Multiple IDEs are available that range from beginners to advanced Python coders. While using a Python IDE programmers benefit from numerous features such as syntax highlighting, code folding, class browsing, code completion, coding standard enforcement, test driven development, debugging, version control and many more. You can refer to Designing & Developing Python Applications on the Wiki for more in-depth information about the setup of a bridge between your IDE and a running instance of LibreOfficeDev.

L'extension APSO

L'extension Alternative Python Script Organizer (APSO) facilite l'édition des scripts Python, notamment lorsqu'ils sont intégrés dans un document. En utilisant APSO, vous pouvez configurer votre éditeur de code source préféré, démarrer le shell Python intégré et déboguer les scripts Python. Il existe des extensions qui permettent d'inspecter des objets UNO arbitraires, voir Design & Developing Python Applications pour plus de détails sur ces extensions.