Link to home
Start Free TrialLog in
Avatar of motokent
motokent

asked on

Ubuntu script to write to an Excel file

I have an Ubuntu server.  I need to write to an Excel file (not csv).  Ideas?  I've heard that python might be able to do the trick... but I need someone to walk me through a simple "hello world" type example.
Avatar of Fabio Marzocca
Fabio Marzocca
Flag of Italy image

I am not familiar with python, but I can say that with Perl it is very easy to read/write excel files. In Ubuntu just install the module: libspreadsheet-parseexcel-perl

Then you have many samples on the web, i.e.:
http://lena.franken.de/perl_hier/excel.html
Avatar of motokent
motokent

ASKER

Thanks.  I think this is what I need.  I ran "sudo apt-get install libspreadsheet-parseexcel-perl", and it looks like it installed without errors.  Then I downloaded a sample from the site you gave me.  I'm not very familiar with Perl, so wish me luck.
ASKER CERTIFIED SOLUTION
Avatar of Fabio Marzocca
Fabio Marzocca
Flag of Italy image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Python can write excel files with "xlrw".  but for the life of me I can't find it anywhere, so I'm guesing it's not being maintained.