xlrd.biffh.XLRDError: Can't load sheets after releasing resources

星辰 / 2023-08-10 / 原文

map_workbook = xlrd.open_workbook(excel_path_map)
map_sheet = map_workbook.get_sheet(0)

改为:

map_sheet = map_workbook.sheets()[0] #0为索引,第0张sheet