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