'å­åžçæ°æ®åå¥å°exceläž­'

def writeData2Cells(self, data, headerKeys):

    if (self.newSheet is None):
        return
    for (vp, v) in enumerate(data.itervalues()):
        for (p, he) in enumerate(headerKeys):
            text = self.convertType(v.get(he, ''))
            self.newSheet.Cells((vp + 2), (p + 1)).Value = text
    return
