import openpyxl # which file to read? filename = 'read-sample.xlsx' # open Work Book (command automatically closes it after reading) wb = openpyxl.load_workbook(filename, read_only=True) # get a handle to Sheet1 s1 = wb.get_sheet_by_name('Sheet1') # get cell A1: cell = s1['A1'] # and print the value of the cell print(cell.value)