问题是两个excel文件中工作表不能互相复制
output=book.copy_worksheet(sheet_moto)
简单的粗暴的解决方法是套两层循环保存到新文件:
work=Workbook()
work.active
sheet_new=work.worksheets[0]
for row in range(sheet_moto.max_row):
for col in range(sheet_moto.max_column):
sheet_new.cell(row+1,col+1).value=sheet_moto.cell(row+1,col+1).value
work.save('output.xlsx')