<s> from xlwt import * <EOL> wb = Workbook ( ) <EOL> ws0 = wb . add_sheet ( '<STR_LIT>' ) <EOL> fnt1 = Font ( ) <EOL> fnt1 . name = '<STR_LIT>' <EOL> fnt1 . bold = True <EOL> fnt1 . height = <NUM_LIT> * <NUM_LIT> <EOL> pat1 = Pattern ( ) <EOL> pat1 . pattern = Pattern . SOLID_PATTERN <EOL> pat1 . pattern_fore_colour = <NUM_LIT> <EOL> brd1 = Borders ( ) <EOL> brd1 . left = <NUM_LIT> <EOL> brd1 . right = <NUM_LIT> <EOL> brd1 . top = <NUM_LIT> <EOL> brd1 . bottom = <NUM_LIT> <EOL> fnt2 = Font ( ) <EOL> fnt2 . name = '<STR_LIT>' <EOL> fnt2 . bold = True <EOL> fnt2 . height = <NUM_LIT> * <NUM_LIT> <EOL> brd2 = Borders ( ) <EOL> brd2 . left = <NUM_LIT> <EOL> brd2 . right = <NUM_LIT> <EOL> brd2 . top = <NUM_LIT> <EOL> brd2 . bottom = <NUM_LIT> <EOL> pat2 = Pattern ( ) <EOL> pat2 . pattern = Pattern . SOLID_PATTERN <EOL> pat2 . pattern_fore_colour = <NUM_LIT> <EOL> fnt3 = Font ( ) <EOL> fnt3 . name = '<STR_LIT>' <EOL> fnt3 . bold = True <EOL> fnt3 . italic = True <EOL> fnt3 . height = <NUM_LIT:12> * <NUM_LIT> <EOL> brd3 = Borders ( ) <EOL> brd3 . left = <NUM_LIT> <EOL> brd3 . right = <NUM_LIT> <EOL> brd3 . top = <NUM_LIT> <EOL> brd3 . bottom = <NUM_LIT> <EOL> fnt4 = Font ( ) <EOL> al1 = Alignment ( ) <EOL> al1 . horz = Alignment . HORZ_CENTER <EOL> al1 . vert = Alignment . VERT_CENTER <EOL> al2 = Alignment ( ) <EOL> al2 . horz = Alignment . HORZ_RIGHT <EOL> al2 . vert = Alignment . VERT_CENTER <EOL> al3 = Alignment ( ) <EOL> al3 . horz = Alignment . HORZ_LEFT <EOL> al3 . vert = Alignment . VERT_CENTER <EOL> style1 = XFStyle ( ) <EOL> style1 . font = fnt1 <EOL> style1 . alignment = al1 <EOL> style1 . pattern = pat1 <EOL> style1 . borders = brd1 <EOL> style2 = XFStyle ( ) <EOL> style2 . font = fnt2 <EOL> style2 . alignment = al1 <EOL> style2 . pattern = pat2 <EOL> style2 . borders = brd2 <EOL> style3 = XFStyle ( ) <EOL> style3 . font = fnt3 <EOL> style3 . alignment = al1 <EOL> style3 . pattern = pat2 <EOL> style3 . borders = brd3 <EOL> price_style = XFStyle ( ) <EOL> price_style . font = fnt4 <EOL> price_style . alignment = al2 <EOL> price_style . borders = brd3 <EOL> price_style . num_format_str = '<STR_LIT>' <EOL> ware_style = XFStyle ( ) <EOL> ware_style . font = fnt4 <EOL> ware_style . alignment = al3 <EOL> ware_style . borders = brd3 <EOL> ws0 . merge ( <NUM_LIT:3> , <NUM_LIT:3> , <NUM_LIT:1> , <NUM_LIT:5> , style1 ) <EOL> ws0 . merge ( <NUM_LIT:4> , <NUM_LIT:10> , <NUM_LIT:1> , <NUM_LIT:6> , style2 ) <EOL> ws0 . merge ( <NUM_LIT> , <NUM_LIT:16> , <NUM_LIT:1> , <NUM_LIT:7> , style3 ) <EOL> ws0 . col ( <NUM_LIT:1> ) . width = <NUM_LIT> <EOL> wb . save ( '<STR_LIT>' ) </s>
