轉: http://www.python-excel.org/
Working with Excel Files in Python
This site contains pointers to the best information available about working with
Excel files in the
Python programming language.
The PackagesThere are python packages available to work with Excel files that will run on any Python platform and that do not require either Windows or Excel to be used. They are fast, reliable and open source:xlrdThis package is for reading data and formatting information from Excel files.Download |
Documentation | GitHubxlwtThis package is for writing data and formatting information to Excel files.Download | Documentation |
Examples | GitHubxlutilsThis package collects utilities that require both
xlrd and xlwt, including the ability to copy and modify or filter existing excel files.Download | Documentation |
GitHubThe TutorialThe notes for the tutorial which covers all three packages can be downloaded here:python-excel.pdf |
GitHubThese notes also make a pretty good reference for the three packages.