天天看點

python 合并單元格

from openpyxl.workbook import Workbook

wb = Workbook()
ws = wb.active
ws.merge_cells('A1:B1')
wb.save(path_dst)
wb.close()