12
我有簡單的代碼來複制文件與xlutils,xlrd,xlwt(從python-excel.org下載新的庫),沒有丟失格式。我得到了一個錯誤如下:python xlutils:formatting_info = True尚未實現
from xlwt.Workbook import *
from xlwt.Style import *
from xlrd import open_workbook
from xlutils.copy import copy
import xlrd
style = XFStyle()
rb = open_workbook('file_master.xlsx', formatting_info=True)
wb = copy(rb.get_sheet(0))
new_book = Workbook()
w_sheet = wb.get_sheet(0)
w_sheet.write(6,6)
wb.save('new_file_master.xls')
錯誤:
raise NotImplementedError("formatting_info=True not yet implemented")
NotImplementedError: formatting_info=True not yet implemented
能否請你幫我如何解決這個或者更確切地說,使工作?