xlsxwriter设置单元格格式
xlsxwriter设置单元格格式#!/usr/bin/python#coding: utf-8from datetime import datetimeimport xlsxwriterworkbook = xlsxwriter.Workbook('Expenses02.xlsx')worksheet = workbook.add_worksheet()#设定格式,等号左边格式名称自定义,字典中格式为指定选项#bold:加粗,num_format:数字格式bold_format =