Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Blogs > dr_agon
User Name


Rate this Entry

Differencies between under Windows and Linux

Posted 12-02-2008 at 03:53 PM by dr_agon

applies to, Linux, Windows, Python, XML

Recently I try to develop modules for already existing, big project using Python and The application is meant to work both under Linux and Windows. Unfortunately, it is not easy.
  1. Python-UNO bridge to OpenOffice, which is part of OO suite, is different. Under Linux it works flawlessly with the fairly new Python v. 2.5. Under Windows it works only with supplied Python v. 2.3.4. It wouldn't be so bad if recent wxWidgets worked with this version, but they don't.
  2. Under Linux is shipped with 'OpenDocument Text Flat XML' filter for importing/exporting .fodt files. I don't know why, but Windows version lacks this filter. I did not find this filter available for download anywhere. The solution is simple, but not obvious: you can export this filter from Linux version and import under Windows. (Many thanks to r4zoli for this suggestion on the forum.
Now, I cannot manipulate OO documents using UNO, but I can prepare XML files which are properly loaded into OO both under Linux and Windows, and are very easy to generate and change. I must say I like XML.
Posted in Uncategorized
Views 2383 Comments 0
« Prev     Main     Next »


All times are GMT -5. The time now is 05:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration