Difference between revisions of "Python"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Getting Started)
(Hacking Arround)
Line 30: Line 30:
 
*[[Example of Service in Python]] - Learn how to run Python as a service, this is useful for remote scripting.
 
*[[Example of Service in Python]] - Learn how to run Python as a service, this is useful for remote scripting.
 
*[http://www.oooforum.org/forum/viewtopic.phtml?p=76972#76972 Modify spreadsheet] - Example of storing and retrieving a custom attribute on a spreadsheet cell.
 
*[http://www.oooforum.org/forum/viewtopic.phtml?p=76972#76972 Modify spreadsheet] - Example of storing and retrieving a custom attribute on a spreadsheet cell.
*[http://udk.openoffice.org/python/oood/ A simple deamon in Python] - Learn how to run Python as a daemon
+
*A simple [[deamon in Python]] - Learn how to run Python as a daemon
  
  
  
 
[[Category:Extensions]]
 
[[Category:Extensions]]

Revision as of 21:10, 19 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 -

Pyuno logo a.jpg

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