savedata.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:Jobs-search 作者: Hopetree 项目源码 文件源码
def get_title(self):
        # ????
        font = xlwt.Font()
        # font.name = "Arial"    #????
        font.colour_index = 1  # ?????
        font.bold = True  # ????
        font.height = 20 * 11  # ??????????????????????
        # ?????
        patterni = xlwt.Pattern()
        patterni.pattern = xlwt.Pattern.SOLID_PATTERN
        patterni.pattern_fore_colour = 24  #???????

        # ????
        style = xlwt.XFStyle()
        style.font = font
        style.pattern = patterni

        for r,title in zip(range(12),["??","??","????","??","????","????","????","????","?????",
                                      "????","????","????"]):
            self.sheet.write(0,r,title,style)

        for x in [0,3,4,5,6,7,9]:
            self.sheet.col(x).width = 256*8
        self.sheet.col(1).width = 250*16
        self.sheet.col(2).width = 256*30
        self.sheet.col(8).width = 256*40
        self.sheet.col(10).width = 256*20
        self.sheet.col(11).width = 256*50

    # ???????i??????????????
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号