Difference between revisions of "Python"
(→Getting Started) |
|||
Line 13: | Line 13: | ||
*[[Using Python on Linux]] - A must read for an overwiew on Python and OOo relations | *[[Using Python on Linux]] - A must read for an overwiew on Python and OOo relations | ||
* [[pyUNO bridge]] - Official page of the PyUNO bridge at the [http://udk.openoffice.org/ UDK site] | * [[pyUNO bridge]] - Official page of the PyUNO bridge at the [http://udk.openoffice.org/ UDK site] | ||
− | * [ | + | * [[Python as a macro language]] in OpenOffice.org 2.x - How to use the Python scripting framework |
* [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] | ||
*[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. |
Revision as of 20:08, 17 January 2007
OOo Extensions project
Please view the wiki usage guidelines
|
---|
Categories: Pages: |
Extensions on the main site |
Extensions in other languages: |
Contents
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
- Using Python on Windows - New to Python? Learn how to use python on Windows
- Using Python on Linux - A must read for an overwiew on Python and OOo relations
- pyUNO bridge - Official page of the PyUNO bridge at the UDK site
- Python as a macro language in OpenOffice.org 2.x - How to use the Python scripting framework
- Introduction on testing pyUNO programs with doctests
- Setting up Python-bridge on Debian - How to install and activate the PyUNO in a Debian box.
PyUNO Modules
- Danny's Python Modules - Collection guide from DannyB's modules.
- PrinttoWriter.py - This makes it easy and convenient to print a bunch of text into a Writer document.
- Developing Calc Funcions in Python - Learn how Python can be used to script your spreadsheets
- Generating a Spreadsheet through Python - Automatically generate new spreadsheets
- Python container components
- PyUNOServer
Hacking Arround
- UNO component packaging - How to create UNO components as well as the basics of script componentizing
- Python component to parse XML - Python is great to parse XML, PyUNO is also excellent when working with XML
- Example of Service in Python - Learn how to run Python as a service, this is useful for remote scripting.
- Modify spreadsheet - Example of storing and retrieving a custom attribute on a spreadsheet cell.
- A simple deamon in Python - Learn how to run Python as a daemon