摘要:
对显示如下的文件 合并单元格.xlsx 进行拆分 import os, openpyxl #path = 'D:\\pyspace' #os.chdir(path) wb = openpyxl.load_workbook('合并单元格.xlsx') sheet = wb.get_active_she 阅读全文
摘要:
import os, openpyxl #path = 'D:\\pySpace' #os.chdir(path) wb = openpyxl.Workbook() sheet = wb.get_active_sheet() sheet.merge_cells('B2:D4') sheet.cell 阅读全文