Python讀寫Excel

xlrd模塊讀取excel 處理流程python 1. 導入模塊 2. 打開Excel文件讀取數據 3. 獲取一個工做表 sheet = book.sheets()[0] #經過索引順序獲取 sheet = book.sheet_by_index(0) #經過索引順序獲取 sheet = book.sheet_by_name(u'Sheet1')#經過名稱獲取 4.獲取整行和整
相關文章
相關標籤/搜索