Well, I asked at linuxquestions.org, always a good place to get tips.
Quote:In [12]: print(sheet.get_highest_row())
/usr/lib/python3/dist-packages/openpyxl/worksheet/worksheet.py:347: UserWarning: Call to deprecated function or class get_highest_row (Use the max_row property).
def get_highest_row(self):
41
In [13]: print(sheet.max_row)
41
The function is now sheet.max_row
Quote:>>> str(sheet.max_row)
'7'
>>> str(sheet.max_column)
'3'
>>>