def set_style(font_name,height,bold=False):
style = xlwt.XFStyle() #?????
font = xlwt.Font() #??
font.name = font_name
font.bold = bold
font.colour_index = 4
font.height = height
style.font = font
return style
文章目录