PyOO allows you to control a running OpenOffice or LibreOffice program for reading and writing spreadsheet documents