#數據存在excel裏面Python去讀取操做,只支持後綴爲.xlsxfrom openpyxl import load_workbook#打開excelwb=load_workbook("test.xlsx")#定位表單sheet=wb["Sheet1"]#定位單元格res=sheet.cell(1,1).valueprint(res)