python如何写简历_⽤Python写简历
1 #/usr/bin/env python
2 #coding=utf-8
3
4 importrandom
5 importre6
7
8 defcolor(messages):9 color = ‘\x1B[%d;%dm‘ % (1,random.randint(30,37))10 return ‘%s %s\x1B[0m‘ %
(color,messages)11
12
13 def colorprint(mes, flag=True):14 def_deco(func):15 defwrapper(args):16 res =func(args)17 print (color(mes +
‘:\n‘))18 ifflag:19 for k1, v1 inres.items():20 if notisinstance(v1, dict):21 print (‘{0}: {1}‘.format(k1, v1))22 else:23 print (‘{0}:‘.format(k1))24 for k2, v2 inv1.items():25 print (‘{0}: {1}‘.format(k2, v2))26 else:27 for i inres:28 if not isinstance(i[1], dict):29 print(i)30 else:31 for k, v in i[1].items():32 print (‘{0}[{1}]: {2}‘.format(k, i[0], v))33 print
(‘\n‘)34 returnres35 returnwrapper36 return_deco37
38
39 classResume(object):40
41 defstr(self):42 return color(‘程健的python简历‘.center(400))43
44 @property45 @colorprint(‘个⼈信息‘)46 def_personal_information(self):47 return{48 ‘Name‘ : ‘程健‘,49
random在python中的意思‘Gender‘ : ‘Male‘,50 ‘Born‘ : [1987, 9, 14],51 ‘Education‘: {52 ‘School Name‘ : ‘太原科技⼤学‘,53 ‘Major‘ :‘电⽓⼯程及其⾃动化‘,54 ‘Degree‘ : ‘本科‘,55 ‘Graduation‘ : 2010
56 },57 ‘Tel‘ : ‘181543777, four, nine‘,58 ‘Email‘ : ‘newer027艾特gmail‘,59 ‘Target Positions‘:
repile(60 "‘Python Developer‘|DevOps",re.I|re.M).pattern61 }62
63 @property64 @colorprint(‘个⼈特点‘)65 defcharacteristics(self):66 return{67 ‘⼼理承受能⼒强‘: ‘从⾮计算机专业-excel VBA⾃动化-Python开发‘,68 ‘热衷和喜爱‘: ‘正是因为喜欢Python, 我才会放弃采购管理‘,69 ‘⾃学能⼒强‘: ‘⾃学excel VBA和Python完成项⽬并满⾜需求‘,70 ‘毅⼒和耐性‘: ‘2013年7⽉,⽤8天时间骑车从上海回湖北⽼家‘,71 ‘is_geek‘: True72 }73
74 @property75 @colorprint(‘个⼈能⼒‘)76 defskills(self):77 return{78 ‘Language‘: {79 ‘熟悉‘ : [‘Python‘,
‘VBA‘],80 ‘了解‘ : [‘JavaScript‘, ‘C‘]},81 ‘OS‘ : [‘macOS‘, ‘Ubuntu‘, ‘嵌⼊式Linux‘],82 ‘Tool‘ :
[‘PyCharm‘, ‘IPython‘, ‘Git‘],83 ‘Databaseandtools‘ : [‘MongoDB‘, ‘Redis‘, ‘Memcached‘],84
‘WebFramework‘: {85 ‘熟悉‘ : [‘Flask‘, ‘Django‘],86 },87 ‘OtherFramework‘ : [‘Pandas‘, ‘NumPy‘,88
‘Celery‘, ‘Beautiful Soup‘],89 ‘Other‘ : ‘CET-6‘
90 }91
92 @property93 @colorprint(‘⼯作经验‘, False)94 defwork_experience(self):95 returnenumerate([96 {97 ‘Time period‘: ‘2013.8-2017.01‘,98 ‘Company Name‘ : ‘上海索⼴映像有限公司(SONY旗下)‘,99 ‘Position‘ : ‘采购管理‘
100 },101 {102 ‘Time period‘ : ‘2010.9-2013.07‘,103 ‘Company Name‘ : ‘上海宏和电⼦材料有限公司(台湾⾸富王永庆之⼦集团旗下)‘,104 ‘Position‘ : ‘采购员‘
105 },106 ])107
108 @property109 @colorprint(‘项⽬经验‘, False)110 defprojectexperience(self):111 returnenumerate([112 {113
‘Project‘ : ‘VBA实现⾃动化数据分析/数据汇总/⽹页表单提交等‘,114 ‘Description‘ : (‘在库存管理和采购业务推进的⼯作中,通过⾃学excel公式和VBA,‘
115 ‘将各项业务采⽤excel VBA实现⾃动化.‘)116 },117 {118 ‘Project‘ : ‘雪球组合仓位分析⼯具‘,119 ‘Description‘ : (‘后端使⽤Flask和Beautiful Soup,前端使⽤Angular和D3开发的单页⾯应⽤,‘
120 ‘获取雪球ID关注的组合的调仓信息和关注组合的累计股票仓位.‘)121 },122 {123 ‘Project‘ : ‘Django By Example逐⾏中⽂注释‘,124 ‘Description‘ : (‘Django By Example全书有四个完整的Django⼯程项⽬,
分别是博客⽹站,图⽚书签社交⽹站,‘
125 ‘购物⽹站和在线教育⽹站.我在逐⾏⼿写代码,调试运⾏成功后,对代码给出逐⾏注释.‘)126 },127 {128 ‘Project‘ : ‘Django-CMS源代码分析‘,129 ‘Description‘: (‘还在进⾏中.作为⼀个⼤型Django项⽬和成熟的⽹站⽣成⼯具,‘
130 ‘Django-CMS的源代码可以作为实施Django项⽬的权威参考.‘)131 }132 ])133
146 defshow(self):147 print(resume.str())148 prolist = [i for i in dir(self) if not i.startswith(‘__‘)]149 for pro
inprolist:150 getattr(self, pro)151
152
153 if __name__ == ‘__main__‘:154 resume =Resume()155 resume.show()
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论