473,898 Members | 2,581 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

new office formats, REs and Python

How are Python users dealing with some of the new OASIS Open Document
formats (Open Office) or MS Open XML formats. These formats store data
in a file which is actual a zip archive that contains numerous files and
folders. For example, a file saved from Open Office 2.0 named 'test.odt'
can be unzipped into many parts... content.xml, meta.xml, settings.xml,
etc, etc.

How can I read these files do re searching and matching on them, etc?
content.xml may have a string I'm searching for, but how would I attach
that back to the original 'test.odt' file?

Perl seems to have a module to handle this, does Python?

http://search.cpan.org/dist/OpenOffice-OODoc/
Jan 4 '07 #1
1 1370
tubby wrote:
How are Python users dealing with some of the new OASIS Open Document
formats (Open Office) or MS Open XML formats. These formats store data
in a file which is actual a zip archive that contains numerous files and
folders. For example, a file saved from Open Office 2.0 named 'test.odt'
can be unzipped into many parts... content.xml, meta.xml, settings.xml,
etc, etc.

How can I read these files do re searching and matching on them, etc?
content.xml may have a string I'm searching for, but how would I attach
that back to the original 'test.odt' file?
http://ooopy.sourceforge.net/
http://www.google.com/search?q=python+open+office
etc

</F>

Jan 4 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
7297
by: guy lateur | last post by:
Hi all, I am trying to write some code (macro's, if you like) to glue together our Office applications (mainly Word, Excel and Outlook). We have a lot of different projects going on simultaneously. The idea is to develop a centralized framework (starting point, common interface) for my users to view/control their documents/correspondence, on a per project basis. As an example, I'd like to have a control (button, menu entry) in Outlook...
2
1805
by: Subodh | last post by:
Hi, Currently we get data from more then 200 different sources and all of our vendors provide data in different file formats. The problem is we have more then 100 DTS packages now and the maintainance is very diffucult. Every time our vendor changes the format we have to change in multiple DTS packages. Is anybody know what would be the right way of reducing the no. of DTS packages.
3
2194
by: | last post by:
Hi! How to extand and access the internat Office object structure. Is there any Dev Kit for Microsoft Partners that in not available to "normal" users? Something like NOKIA back entrence!? gicio
2
1757
by: Stefan Hirtbach | last post by:
Hi, I have to create and edit Excel and Word files with an server-side applikation. One problem is that on this server no Office will be accessible, so that I can't use normal automatisation. The second problem is that this files should be version independant (as far as possible. At least Office 2000, XP and 2003 must be supported but 97 is also requested). Googeling around I found that there's something called OWC. Might this be the...
20
2639
by: tomerfiliba | last post by:
hey i've been seeing lots of config-file-readers for python. be it ConfigObj (http://www.voidspace.org.uk/python/configobj.html) or the like. seems like a trend to me. i came to this conclusion a long time ago: YOU DON'T NEED CONFIG FILES FOR PYTHON. why re-invent stuff and parse text by yourself, why the interpreter can do it for you? and anyway, i find this a very ugly format:...
0
1406
by: s.lipnevich | last post by:
Hi All, I tried looking in several places, including Python's documentation, CheeseShop, general search, and didn't find anything. Is implementation of GNU date input formats (http://www.gnu.org/software/tar/manual/html_node/tar_109.html) available in Python? I'm primarily interested in parsing relative dates/times like "next tuesday" or "-1 week." I know that Python 2.5 now includes strptime...
2
1268
by: Fla | last post by:
Good morning. I'm developing a software in VB.NET using MDAC (through System.Data.OleDB) to read and write MSExcel And MSAccess files in a target machine without MSOffice. Is there any rojalty on .MDB and .XLS formats? Can I manage XLS and MDB file without MSOffice license? Thanks in Advance for your replies
9
1413
by: John Kotuby | last post by:
Hi all... While looking around for tools to create Excel files from either HTML pages or the Data I use to assemble them, I got an interesting response from a vendor. I have looked at Apose, and may end up using their product. I am also looking at the capability of SQL Server 2005 reporting services to produce multi-worksheet workbooks. However, a vendor that does HTML to PDF conversion asked me why I have not used Office Open XML...
3
5007
by: Chuck | last post by:
I've been having problems with Access and Excel talking to one another. In the process of trying to add features (programs) to Access 97 I have lost the ability to export an Access query to an external file in Excel 97 format. It was there yesterday, but it's gone today. Other formats are also gone. I have found the Value Pack on the original Office 97 Pro CD. It looks like I can install drivers directly from the value pack. There is an...
0
9993
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9839
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10857
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10946
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9658
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7187
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4705
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4295
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3303
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.