xlwt

所属分类:智慧办公
开发工具:Python
文件大小:171KB
下载次数:0
上传日期:2020-02-21 21:04:05
上 传 者sh-1993
说明:  库,用于在任何平台上创建与MS Excel 97 2000 XP 2003 XLS文件兼容的电子表格文件。
(Library to create spreadsheet files compatible with MS Excel 97 2000 XP 2003 XLS files, on any platform.)

文件列表:
.travis.yml (899, 2018-09-17)
LICENSE (5068, 2018-09-17)
MANIFEST.in (16, 2018-09-17)
docs (0, 2018-09-17)
docs\Makefile (5556, 2018-09-17)
docs\api.rst (414, 2018-09-17)
docs\changes.rst (4725, 2018-09-17)
docs\conf.py (641, 2018-09-17)
docs\development.rst (1671, 2018-09-17)
docs\index.rst (711, 2018-09-17)
docs\installation.rst (472, 2018-09-17)
docs\licenses.rst (50, 2018-09-17)
docs\make.bat (5092, 2018-09-17)
examples (0, 2018-09-17)
examples\big-16Mb.py (695, 2018-09-17)
examples\big-35Mb.py (539, 2018-09-17)
examples\blanks.py (618, 2018-09-17)
examples\col_width.py (363, 2018-09-17)
examples\country.py (180, 2018-09-17)
examples\dates.py (556, 2018-09-17)
examples\format.py (636, 2018-09-17)
examples\formula_names.py (925, 2018-09-17)
examples\formulas.py (1351, 2018-09-17)
examples\hyperlinks.py (696, 2018-09-17)
examples\image.py (384, 2018-09-17)
examples\image_chg_col_wid.py (652, 2018-09-17)
examples\merged.py (760, 2018-09-17)
examples\merged0.py (510, 2018-09-17)
examples\merged1.py (1821, 2018-09-17)
examples\mini.py (171, 2018-09-17)
examples\num_formats.py (1151, 2018-09-17)
examples\numbers_demo.py (479, 2018-09-17)
examples\outline.py (2874, 2018-09-17)
examples\panes.py (1134, 2018-09-17)
examples\panes2.py (1315, 2018-09-17)
examples\panes3.py (1044, 2018-09-17)
examples\parse-fmla.py (333, 2018-09-17)
... ...

|Travis|_ |Coveralls|_ |Docs|_ |PyPI|_ .. |Travis| image:: https://api.travis-ci.org/python-excel/xlwt.svg?branch=master .. _Travis: https://travis-ci.org/python-excel/xlwt .. |Coveralls| image:: https://coveralls.io/repos/python-excel/xlwt/badge.svg?branch=master .. _Coveralls: https://coveralls.io/r/python-excel/xlwt?branch=master .. |Docs| image:: https://readthedocs.org/projects/xlwt/badge/?version=latest .. _Docs: https://xlwt.readthedocs.io/en/latest/ .. |PyPI| image:: https://badge.fury.io/py/xlwt.svg .. _PyPI: https://badge.fury.io/py/xlwt xlwt ==== This is a library for developers to use to generate spreadsheet files compatible with Microsoft Excel versions 95 to 2003. The package itself is pure Python with no dependencies on modules or packages outside the standard Python distribution. Please read this before using this package: https://groups.google.com/d/msg/python-excel/P6TjJgFVjMI/g8d0eWxTBQAJ Installation ============ Do the following in your virtualenv:: pip install xlwt Quick start =========== .. code-block:: python import xlwt from datetime import datetime style0 = 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 ============= Documentation can be found in the ``docs`` directory of the xlwt package. If these aren't sufficient, please consult the code in the examples directory and the source code itself. The latest documentation can also be found at: https://xlwt.readthedocs.io/en/latest/ Problems? ========= Try the following in this order: - Read the source - Ask a question on https://groups.google.com/group/python-excel/ Acknowledgements ================ xlwt is a fork of the pyExcelerator package, which was developed by Roman V. Kiseliov. This product includes software developed by Roman V. Kiseliov . xlwt uses ANTLR v 2.7.7 to generate its formula compiler.

近期下载者

相关文件


收藏者