上传者: 38577200
|
上传时间: 2021-11-20 19:56:20
|
文件大小: 34KB
|
文件类型: -
如下所示:
# _*_ coding:utf-8 _*_
#-----------------------------------------------
# import modules
#-----------------------------------------------
import os
import xlwt
import sys
import types
def set_style(name, height, bold = False):
style = xlwt.XFStyle() #初始化样式
font = xlwt.Font() #为样式创建字体
font.nam