workbook = xlwt.Workbook()
worksheet = workbook.add_sheet('Test')
style = xlwt.XFStyle()
font = xlwt.Font()
font.bold = True
style.font = font
borders = xlwt.Borders()
borders.bottom = xlwt.Borders.DASHED
style.borders = borders
worksheet.write(0, 0, 'test value', style=style)
workbook.save('test.xls')
XLWT multiple styles