A python library to create OpenXML spreadsheets, so that Microsoft Excel, or every other program that supports this format (e.g. LibreOffice, Openoffice) can open a file created with this library.
Implemented features:
create a blank workbook
or open an existing xlsx file
create a new sheet
write into a cell
write data in CSV format to sheet
read from a cell
read from a sheet line by line
format tables with templates
freeze a row
conditional formatting (beginsWith, expression)
save as *.xlsx
Requirements:
Python 2.4 - 2.6
Example
create a new sheet
import a list
create a formated table
define some colors
conditional formating
save to file
excel screenshot
For further examples please have a look at sample.py and sample-2.py