import xlrd
from xlutils.copy import copy
#打开excel
read_book= xlrd.open_workbook('01.电影.xlsx')
#复制数据
wb=copy(read_book)
#选择工作薄
sh1 =wb.get_sheet(0)
sh2 =wb.sheet_by_index(0)
print(sh1)
print(sh2)AttributeError: 'Workbook' object has no attribute 'sheet_by_index'