Aug-23-2017, 08:22 AM
I am very interested in Python applied to spreadsheets, because I do simple, boring tasks with spreadsheets related to school and students. I got this code from Automate the Boring Stuff.
This must be a version problem I think. I looked at https://docs.python.org/3.5/
but I can't find the relevant documentation.
Can someone please just point me at the right docs, I will read them!
This must be a version problem I think. I looked at https://docs.python.org/3.5/
but I can't find the relevant documentation.
1 2 3 4 5 6 7 |
>>> wb = openpyxl.load_workbook( 'examples.xlsx' ) >>> sheet = wb.get_sheet_by_name( 'Sheet1' ) >>> sheet.get_highest_row() Traceback (most recent call last): File "<pyshell#32>" , line 1 , in <module> sheet.get_highest_row() AttributeError: 'Worksheet' object has no attribute 'get_highest_row' |