Python Error解决方案AttributeError: ‘ReadOnlyWorksheet‘ object has no attribute ‘get_highest_row‘

Python Error解决方案AttributeError: ‘ReadOnlyWorksheet’ object has no attribute ‘get_highest_row’

Error message:
Insert picture description here

sheet.get_highest_row() and sheet.get_highest_column() have been deprecated many years ago, now they are:
sheet.max_rowwithsheet.column
Start again: (no error will be reported)
Insert picture description here
Insert picture description here
Get it!

Guess you like

Origin blog.csdn.net/XRTONY/article/details/113818112