- Notifications
You must be signed in to change notification settings - Fork279
Library to create spreadsheet files compatible with MS Excel 97/2000/XP/2003 XLS files, on any platform.
License
python-excel/xlwt
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a library for developers to use to generatespreadsheet files compatible with Microsoft Excel versions 95 to 2003.
The package itself is pure Python with no dependencies on modules or packagesoutside the standard Python distribution.
Please read this before using this package:https://groups.google.com/d/msg/python-excel/P6TjJgFVjMI/g8d0eWxTBQAJ
Do the following in your virtualenv:
pip install xlwt
importxlwtfromdatetimeimportdatetimestyle0=xlwt.easyxf('font: name Times New Roman, color-index red, bold on',num_format_str='#,##0.00')style1=xlwt.easyxf(num_format_str='D-MMM-YY')wb=xlwt.Workbook()ws=wb.add_sheet('A Test Sheet')ws.write(0,0,1234.56,style0)ws.write(1,0,datetime.now(),style1)ws.write(2,0,1)ws.write(2,1,1)ws.write(2,2,xlwt.Formula("A3+B3"))wb.save('example.xls')
Documentation can be found in thedocs
directory of the xlwt package.If these aren't sufficient, please consult the code in theexamples directory and the source code itself.
The latest documentation can also be found at:https://xlwt.readthedocs.io/en/latest/
Try the following in this order:
- Read the source
- Ask a question onhttps://groups.google.com/group/python-excel/
xlwt is a fork of the pyExcelerator package, which was developed byRoman V. Kiseliov. This product includes software developed byRoman V. Kiseliov <roman@kiseliov.ru>.
xlwt uses ANTLR v 2.7.7 to generate its formula compiler.
About
Library to create spreadsheet files compatible with MS Excel 97/2000/XP/2003 XLS files, on any platform.
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.