Python操做Excel主要依赖两个库:html
xlrd(用于读Excel):https://pypi.python.org/pypi/xlrd This package is for reading data and formatting information from Excel files.python
xlwt(用于写Excel):https://pypi.python.org/pypi/xlwt This package is for writing data and formatting information to Excel files.spa
Windows下安装该插件:【记录】Python中安装xlrd模块插件
官网:http://www.python-excel.org/excel