The original document
import xlrd
file = 'demo.xlsx'
sheet_name='Sheet1'
work = xlrd.open_workbook(file)
work_sheet = work.sheet_by_name(sheet_name)
print(work_sheet.cell_value(2, 0)) # Read the first 3 OK, No 1 Column
# coding: utf-8
import xlrd
from xlutils.copy import copy
file = 'demo.xlsx'
sheet_name = 'Sheet1'
work = xlrd.open_workbook(file)
work_sheet = work.sheet_by_name(sheet_name)
# Copy the data table
new_file = copy(work)
ws = new_file.get_sheet(0)
# Write data to new table
ws.write(4, 0, '4')
ws.write(4, 1, 'Danny')
# preservation
new_file_name = 'new_demo.xlsx'
new_file.save(new_file_name)