Difference between revisions of "Python"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Resources)
m
Line 6: Line 6:
  
 
=== Resources ===
 
=== Resources ===
* [http://udk.openoffice.org/python/scriptingframework/index.html Python as a macro language in OpenOffice.org 2.x] - How to use a scripting framework
+
* [http://udk.openoffice.org/python/scriptingframework/index.html Python as a macro language in OpenOffice.org 2.x] - How to use the Python scripting framework
 
* [http://udk.openoffice.org/python/python-bridge.html pyUNO bridge] - Official page of the PyUNO bridge at the OOo site
 
* [http://udk.openoffice.org/python/python-bridge.html pyUNO bridge] - Official page of the PyUNO bridge at the OOo site
 
* [http://blogs.nuxeo.com/sections/blogs/laurent_godard/2006_04_13_testing-pyuno-programs-with-doctests Introduction on testing pyUNO programs with doctests]
 
* [http://blogs.nuxeo.com/sections/blogs/laurent_godard/2006_04_13_testing-pyuno-programs-with-doctests Introduction on testing pyUNO programs with doctests]
*[[UNO component packaging]] - How to create components as well as the bases of componetizing scripts
+
*[[UNO component packaging]] - How to create UNO components as well as the basics of script componentizing
 
*[http://www.oooforum.org/forum/viewtopic.phtml?p=56022 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?p=56022 PrinttoWriter.py] - This makes it easy and convenient to print a bunch of text into a Writer document.
*[[Using Python on Windows]] - New to Python? Learn how to use python on Windows?
+
*[[Using Python on Windows]] - New to Python? Learn how to use python on Windows
*[http://www.oooforum.org/forum/viewtopic.phtml?t=8456 Developing Calc Funcions in Python] - Learn how Python be used to script your spreadsheet
+
*[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=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.
 
*[[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.
Line 19: Line 19:
 
*[http://www.oooforum.org/forum/viewtopic.php?t=4368 Setting up Python-bridge on Debian] - How to install and activate the PyUNO in a Debian box.
 
*[http://www.oooforum.org/forum/viewtopic.php?t=4368 Setting up Python-bridge on Debian] - How to install and activate the PyUNO in a Debian box.
 
*[http://udk.openoffice.org/python/oood/ A simple deamon in Python] - Learn how to run Python as a daemon
 
*[http://udk.openoffice.org/python/oood/ A simple deamon in Python] - Learn how to run Python as a daemon
*[http://www.oooforum.org/forum/viewtopic.phtml?p=38234#38234 Python component to parse XML] - Python is great to parse XML, PyUNO also excell when working with XML
+
*[http://www.oooforum.org/forum/viewtopic.phtml?p=38234#38234 Python component to parse XML] - Python is great to parse XML, PyUNO is also excellent when working with XML
 
*[[PyUNOServer]]
 
*[[PyUNOServer]]
 
*[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=75468 Generating a Spreadsheet through Python] - Automatically generate new spreadsheets
  
 
[[Category:Extensions]]
 
[[Category:Extensions]]

Revision as of 21:42, 14 December 2006

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 -

Python specific information for Extension creation

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.

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

Resources

Personal tools