xlwt模块 封装 #!/usr/bin/env python # -*- coding: utf-8 -*- import xlwt import xlrd from xlutils.copy import copy class ExcelWrite(object): def __init__(self, dir, file): self.file_name = dir + file def set_style(self, name, colour_index, height, underli