[Tutor] Open a libreoffice calc file in Python

Alan Gauld alan.gauld at yahoo.co.uk
Thu Dec 22 04:54:27 EST 2016

On 22/12/16 03:37, Jim Byrnes wrote:
> Python 3.4 on Ubuntu
> If I was going to open a libreoffice calc file from the terminal I would 
> go: libreoffice --calc /home/path/to/myfile.ods.
> How would I do this from Python?

Others have advised how to run the Libreoffice app from
within Python.

If you really want to open the actual spreadsheet file
in Python rather than Libreoffice then its a bit more tricky.
If that is what you really meant get back to us and
we can start on the options available...

Alan G
Author of the Learn to Program web site
Follow my photo-blog on Flickr at:

More information about the Tutor mailing list