摘要: 直接上代码: 1 from openpyxl import Workbook 2 from openpyxl.cell import get_column_letter 3 4 wb = Workbook() 5 dest_filename = r'empty_book.xlsx' #file name 6 ws = wb.worksheets[0] #the first sheet 7 ws.title = "range names" #first sheet name 8 for col_idx in xrange(1... 阅读全文
posted @ 2014-01-06 16:23 浪潮之巅123 阅读(253) 评论(0) 推荐(1) 编辑