Python
  Home arrow Python arrow Python and OpenOffice.org
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
PYTHON

Python and OpenOffice.org
By: Peyton McCullough
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 25
    2006-03-21


    Table of Contents:
  • Python and OpenOffice.org
  • Connecting to OpenOffice.org
  • Getting to the Desktop Service
  • Tabular Talk

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    Python and OpenOffice.org
    ( Page 1 of 4 )

    OpenOffice is a free, open source office suite with an API that allows developers to work with it in a number of languages. Python-UNO lets you work with the API in Python. This article gives you a taste of what you can do with it.

    OpenOffice.org has established quite a reputation, existing as an office suite that's free and open-source, yet competitive and compatible with similar solutions. It runs on many platforms, and it boasts over fifty million downloads. Developers can hardly ignore such a project, which is why OpenOffice.org features an API that allows developers to work with OpenOffice.org in numerous languages.

    Of course, one might find it hard to imagine Python being included in that list of languages, since it would make things perhaps too easy. However, a project by the name of Python-UNO makes it all possible. OpenOffice.org utilizes Universal Network Objects, or UNO. The technology allows components to be created in a variety of languages which can interact with OpenOffice.org. Python-UNO provides a Python interface to it all.

    Python-UNO is included with OpenOffice.org, so there's no need to install anything in order to make use of it. Unfortunately, however, there is a downside to things. Don't expect to make use of recent additions to Python because the version included with OpenOffice.org 2.0 is Python 2.3.5. There is an effort to fix this problem and equip OpenOffice.org with a newer version of Python, though.

    There are also ways around this, and, indeed, some Linux distributions make Python-UNO available in their default Python installations. Ubuntu does this, for example. You can check for this by opening up Python and attempting to import the module uno. With that said, let's get started with Python-UNO.



     
     
    >>> More Python Articles          >>> More By Peyton McCullough
     

       

    PYTHON ARTICLES

    - Tuples and Other Python Object Types
    - The Dictionary Python Object Type
    - String and List Python Object Types
    - Introducing Python Object Types
    - Mobile Programming using PyS60: Advanced UI ...
    - Nested Functions in Python
    - Python Parameters, Functions and Arguments
    - Python Statements and Functions
    - Statements and Iterators in Python
    - Sequences and Sets in Python
    - Python Expressions and Operators
    - Dictionaries, Variables and Statements in Py...
    - Data Types in Python
    - The Python Language
    - SSH with Twisted





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
    Stay green...Green IT