the string 'applesthe row attribute gives us the integer the column attribute gives us ' 'and the coordinate attribute gives us ' openpyxl will automatically interpret the dates in column and return them as datetime values rather than strings the datetime data type is explained further in specifying column by letter can be tricky to programespecially because after column zthe columns start by using two lettersaaabacand so on as an alternativeyou can also get cell using the sheet' cell(method and passing integers for its row and column keyword arguments the first row or column integer is not continue the interactive shell example by entering the followingsheet cell(row= column= sheet cell(row= column= value 'applesfor in range( )go through every other rowprint(isheet cell(row=icolumn= value apples pears apples strawberries as you can seeusing the sheet' cell(method and passing it row= and column= gets you cell object for cell just like specifying sheet[' 'did thenusing the cell(method and its keyword argumentsyou can write for loop to print the values of series of cells say you want to go down column and print the value in every cell with an odd row number by passing for the range(function' "stepparameteryou can get cells from every second row (in this caseall the odd-numbered rowsthe for loop' variable is passed for the row keyword argument to the cell(methodwhile is always passed for the column keyword argument note that the integer not the string ' 'is passed you can determine the size of the sheet with the worksheet object' max_row and max_column attributes enter the following into the interactive shellimport openpyxl wb openpyxl load_workbook('example xlsx'sheet wb['sheet 'sheet max_row get the highest row number sheet max_column get the highest column number note that the max_column attribute is an integer rather than the letter that appears in excel working with excel spreadsheets