文章分类 - Python Code
记个操作Excel的Python代码
摘要:from win32com.client import constants, Dispatchclass EasyExcel: def __init__(self, filename=None): self.xlApp = Dispatch('Excel.Application') if filename: self.filename = filename self.xlBook = self.xlApp.Workbooks.Open(filename) else: print "...
阅读全文
浙公网安备 33010602011771号