Difference between revisions of "Python"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Hacking Arround)
Line 42: Line 42:
 
*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
 
*[http://www.danielnaber.de/loook/ Loook.py] - a simple Python tool that searches for text strings in OpenOffice.org.
 
*[http://www.danielnaber.de/loook/ Loook.py] - a simple Python tool that searches for text strings in OpenOffice.org.
*[http://www.freewisdom.org/projects/python-markdown/odt2txt.php odt2txt.py] - convert ODF to plain text using python (and conver the txt to html).
+
*[[odt2txt.py]] - convert ODF to plain text using python (and conver the txt to html).
  
 
=== Python rules OOo (by B. Bois) ===
 
=== Python rules OOo (by B. Bois) ===

Revision as of 04:31, 9 June 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 Pyuno logo a.jpg

News

Efforts on moving PyUNO to Python 2.5 continue. Liyuan is pushing this initiatie and has commited the CWS on the UDK mailing list the CWS however is not ready and was sent back on issue 71327.

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.

Where is the IDE ?

OpenOffice.org's IDE doesn't support Python, so development have to be done from other editor that does.

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

Python rules OOo (by B. Bois)

Python rules OOo :-)

Personal tools