[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖

[技术讨论] python处理excel操作的相关模块

本帖最后由 523066680 于 2012-12-26 19:30 编辑

模块/资料连接
http://www.python-excel.org/

xlrd
This package is for reading data and formatting information from Excel files.、

xlwt
This package is for writing data and formatting information to Excel files.

xlutils
This package collects utilities that require both xlrd and xlwt, including the ability to copy and modify or filter existing excel files.

中文资料
Python Excel Tutorial 指南
http://www.iteye.com/topic/1114817


注意以下情况:
1. 不适合处理需要密码访问的文档(下载模块后参考README.html)
Unlikely to be done:
Handling password-protected (encrypted) files.
2. 支持的版本有限
Versions of Excel supported: 2004, 2002, XP, 2000, 97, 95, 5.0, 4.0, 3.0. 2.x could be done readily enough if any demand.

有没有VBA for libreoffice 的相关文章?

TOP

回复 2# hacker85


    无有,直接度娘/谷姐

TOP

现在用2003、2007、2010的比较多吧

TOP

本帖最后由 523066680 于 2012-12-27 11:06 编辑

哎哟 刚刚谷歌一下有个
openpyxl - A Python library to read/write Excel 2007 xlsx/xlsm files

官方示例也很清楚
http://packages.python.org/openpyxl/

TOP

返回列表