1. 程式人生 > >python3 調用get_highest_row()錯誤

python3 調用get_highest_row()錯誤

row exce 分享 pro RoCE watermark max highest -o

在學習《Python編程快速上手》12.3.3,獲取excel 中sheet大小。
卻遇到了如下的錯誤:技術分享圖片

度娘搜了一下,原來在新版的openpyxl中已重寫
將get_highest_row()、get_highest_column(),重寫為max_row、max_column

技術分享圖片

註意在max_row、max_column後不要加括號

python3 調用get_highest_row()錯誤