Python Forum
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
using openpyxl
#11
If you don't see it there, I didn't try it. You have the code now, take it as a starter and continue.
Reply
#12
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'
>>>
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020