def write(self, r, c, cell, header=False): style = xlwt.easyxf('align: wrap on, vert top;') if header: style = xlwt.easyxf('font: bold on; align: horiz center;') self.sheet.write(r, c, cell, style)