Open Office and Python

tobiah st at tobiah.org
Fri Aug 25 15:39:10 EDT 2006


F wrote:
> Hello there!
> 
> I'd like to load a .csv file to the Open Office spreadsheet from the command 
> line using an arbitrary delimiter through Python. 

I put together a little utility that you may find helpful
if I understand you correctly.  It converts a .csv file
to a .xls file without the need for the GUI.  It makes a
good guess as to the appropriate column width for each
column.  You could easily fix it to use any delimiter
as an argument.  It's here:

http://tobiah.org/csv2xls

It needs PyExcellerator:

http://sourceforge.net/projects/pyexcelerator

Tobiah

-- 
Posted via a free Usenet account from http://www.teranews.com




More information about the Python-list mailing list