Python
  Home arrow Python arrow Python and OpenOffice.org
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
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: 5 stars5 stars5 stars5 stars5 stars / 22
    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:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb 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
     
     
    FaxWave - Free Trial.
     
    ADVERTISEMENT

    Virtual Tradeshows by Ziff Davis Enterprise - A Unique Opportunity to Connect with IT Experts, Access Information, and Gain Insight on today's Technology

    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


       · This is a great article to help someone become an OpenOffice.org power user. I found...
       · Chris,Thanks for pointing that out to me. It looks as if the backslashes were...
       · Peyton,Thanks for your helpful article. I am exploring the Python/OOo interface...
       · Well.. I have been diving in the web for 2 hours and i have realized the...
     

       

    PYTHON ARTICLES

    - SSH with Twisted
    - Mobile Programming in Python using PyS60: UI...
    - Python: Count on It
    - Python Strings: Spinning Yarns
    - Python: More Fun with Strings
    - Python: Stringing You Along
    - Python Operators
    - Bluetooth Programming in Python: Network Pro...
    - Python Sets
    - Python Conditionals, Lists, Dictionaries, an...
    - Python: Input and Variables
    - Introduction to Python Programming
    - Mobile Programming in Python using PyS60: Ge...
    - Bluetooth Programming using Python
    - Finishing the PyMailGUI Client: User Help To...

     
    Accelerating Trading Partner Performance
     
    Competing on Analytics
     
    Cost Effective Scaling with Virtualization and Coyote Point Systems
     
    Five Checkpoints to Implementing IP Telephony
     
    Hosted Email Security: Staying Ahead of New Threats
     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway