xlwt3
=====
**DEVELOPMENT STOPPED** - 03.01.2011
I doubt that there will ever be a stable version of xlwt3.
"xlwt3" is the Python 3 port of "xlwt" 0.7.2
"xlwt3" is 100% API compatible to "xlwt" 0.7.2 (http://pypi.python.org/pypi/xlwt)
but all module names changed to lower-case names, and formula parsing related
modules moved to the subpackage 'xlwt3.excel'.
Purpose
-------
Library to create spreadsheet files compatible with MS Excel 97/2000/XP/2003 XLS files,
on any platform, with Python 3.1+
Maintainer
----------
* xlwt -- John Machin, Lingfo Pty Ltd <sjmachin AT lexicon.net>
* xlwt3 -- Manfred Moitzi, Python 3 port <mozman AT gmx.at>
Licence
-------
BSD-style (see licences.py)
External modules required
-------------------------
The package itself is pure Python with no dependencies on modules or packages
outside the standard Python distribution.
Quick start::
import xlwt3 as 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')
Installation
------------
Any OS: Unzip the .zip file into a suitable directory,
chdir to that directory, then do::
python setup.py install
or::
pip install xlwt3
Download URLs
-------------
PyPI: http://pypi.python.org/pypi/xlwt3
Bitbucket: https://bitbucket.org/mozman/xlwt3/downloads
Documentation
-------------
http://packages.python.org/xlwt3/ - Sphinx based HTML documentation
or use the original "xlwt" 0.7.2 documention at
https://secure.simplistix.co.uk/svn/xlwt/trunk/xlwt/doc/xlwt.html
and replace every "xlwt"
with "xlwt3" or use::
import xlwt3 as xlwt
Documentation can be found in the 'doc' directory of the xlwt3 package.
If these aren't sufficient, please consult the code in the
examples directory and the source code itself.
Problems
--------
Try the following in this order:
* Read the source
* Ask a question on http://groups.google.com/group/python-excel/
* E-mail the xlwt maintainer <sjmachin AT lexicon.net>, including
"[xlwt]" as part of the message subject.
* E-mail the xlwt3 maintainer <mozman AT gmx.at>, including
"[xlwt]" as part of the message subject.
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 <roman AT kiseliov.ru>."
* xlwt uses ANTLR v 2.7.7 to generate its formula compiler.
* a growing list of names; see HISTORY.html: feedback, testing, test files, ...
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
xlwt3-0.1.2.tar.gz (78个子文件)
xlwt3-0.1.2
doc.sphinx
_build
html
index.html 6KB
search.html 3KB
package.html 7KB
workbook.html 7KB
worksheet.html 6KB
genindex.html 4KB
NEWS.txt 401B
PKG-INFO 5KB
LICENSE.txt 3KB
xlwt3
formatting.py 8KB
column.py 1KB
worksheet.py 42KB
bitmap.py 10KB
utils.py 7KB
__init__.py 357B
compounddoc.py 8KB
workbook.py 20KB
excel
antlr.py 85KB
formulaparser.py 22KB
__init__.py 0B
magic.py 29KB
formulalexer.py 4KB
biffrecords.py 95KB
unicodeutils.py 3KB
style.py 19KB
cell.py 8KB
formula.py 1KB
row.py 10KB
HISTORY.html 3KB
doc
xlwt.html 7KB
examples
runall.bat~ 79B
protection.py 3KB
unicode1.py 1KB
big-16Mb.py 686B
dates.py 563B
xlsnumber.py 463B
row_styles.py 345B
outline.py 3KB
wsprops.py 4KB
sst.py 949B
unicode0.py 431B
col_width.py 346B
row_styles_empty.py 324B
parse-fmla.py 237B
runall.bat 78B
python.bmp 37KB
mini.py 148B
blanks.py 626B
merged1.py 2KB
format.py 644B
merged0.py 518B
xlwt_easyxf_simple_demo.py 2KB
formulas.py 1KB
hyperlinks.py 703B
unicode2.py 445B
merged.py 768B
country.py 188B
image.py 248B
formula_names.py 955B
big-35Mb.py 650B
simple.py 475B
num_formats.py 1KB
panes.py 1KB
README.txt 3KB
setup.py 2KB
tests
test_biff_records.py 687B
RKbug.py 5KB
test_unicode1.py 2KB
test_easyxf.py 3KB
output-0.7.2
simple.xls 6KB
mini.xls 6KB
xlwt_easyxf_simple_demo.xls 18KB
unicode1.xls 6KB
test_compound_doc.py 7KB
test_unicodeutils.py 5KB
test_simple.py 1KB
test_mini.py 806B
test.bat 127B
共 78 条
- 1
资源评论
beright
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功