Difference between revisions of "Python"

From Apache OpenOffice Wiki
Jump to: navigation, search
(PyUNO Modules)
(PyUNO Modules)
Line 21: Line 21:
 
*[[PrinttoWriter.py]] - This makes it easy and convenient to print a bunch of text into a Writer document.
 
*[[PrinttoWriter.py]] - This makes it easy and convenient to print a bunch of text into a Writer document.
 
*[http://www.oooforum.org/forum/viewtopic.phtml?t=8456 Developing Calc Funcions in Python] - Learn how Python can be used to script your spreadsheets
 
*[http://www.oooforum.org/forum/viewtopic.phtml?t=8456 Developing Calc Funcions in Python] - Learn how Python can be used to script your spreadsheets
*[http://www.oooforum.org/forum/viewtopic.phtml?p=75468 Generating a Spreadsheet through Python] - Automatically generate new spreadsheets
+
*[http://www.oooforum.org/forum/viewtopic.phtml?p=56037#56037 Generating a Spreadsheet through Python] - Automatically generate new spreadsheets
 
*[http://www.oooforum.org/forum/viewtopic.phtml?t=9115 Python container components]
 
*[http://www.oooforum.org/forum/viewtopic.phtml?t=9115 Python container components]
 
*[[PyUNOServer]]
 
*[[PyUNOServer]]

Revision as of 22:45, 5 January 2007

OOo Extensions project

Please view the wiki usage guidelines
before contributing.

Categories:

Pages:

Extensions on the main site

Extensions in other languages:
ES - FR - IT - JA - NL - OC -

File:LogoPython.png

Python and OpenOffice.org

OpenOffice.org ships with a python scripting language on it's versions 2.3.4. This Python distribution comes with the uno module which connects the UNO API with the python scripting language. To run this version of Python on Linux you can go to the direct OpenOffice.org PATH. OOo-Python can be run from the command line as well as you might expect with any other distribution of Python.

Python specific information for Extension creation

To create extensions for python is important that you have enough relation with the UNO components as well sa packaging your code to be able to easily distribute your scripts through the OpenOffice.org package manager. Please check up the tutorials on how to componetize your code as well as how to deploy remote scripting through a service implementation.

To learn to run Python on Windows you could visit this link for more detail information.

Getting Started

PyUNO Modules

Hacking Arround

Personal tools