1.å¦ä½ç¨pythonå¶ä½ä¸ªäººç®å
2.å¦ä½å¶ä½çµåçç®ï¼å¦ä½å¶ä½çµåçç®å
3.å¦ä½å¦ä¹ ç¨LaTeXåç®å
å¦ä½ç¨pythonå¶ä½ä¸ªäººç®å
ç¨åºåçç®åï¼ä¸è¬éè¿MarkdownæLaTexçæPDFï¼æ¯è¾ç¹å«çæ¯å端ç¨åºåä¼ç¨JavaScriptå®ç°æ´å ç«é ·çç½é¡µçæ¬ç®åãããä½ä¸ºä¸ä¸ªPythonç¨åºåï¼å¯ä»¥éè¿ä¸é¢ç代ç ï¼å¨å½ä»¤è¡çæä¸ä»½ç¬ä¸æ äºçPythonicçç®åã
1 #/usr/bin/env python 2 # coding=utf-8 3 4 import random 5 import re 6 7 8 def color(messages): 9 color = '\x1B[%d;%dm' % (1,简历简历源码安装opensimrandom.randint(,)) return '%s %s\x1B[0m' % (color,messages) def colorprint(mes, flag=True): def _deco(func): def wrapper(args): res = func(args) print (color(mes + ':\n')) if flag: for k1, v1 in res.items(): if not isinstance(v1, dict): print ('{ 0}: { 1}'.format(k1, v1)) else: print ('{ 0}:'.format(k1)) for k2, v2 in v1.items(): print (' { 0}: { 1}'.format(k2, v2)) else: for i in res: if not isinstance(i[1], dict): print (i) else: for k, v in i[1].items(): print ('{ 0}[{ 1}]: { 2}'.format(k, i[0], v)) print ('\n') return res return wrapper return _deco class Resume(object): def str(self): return color('ç¨å¥çpythonç®å'.center()) @property @colorprint('个人信æ¯') def _personal_information(self): return { 'Name' : 'ç¨å¥', 'Gender' : 'Male', 'Born' : [, 9, ], 'Education' : { 'School Name' : '太åç§æ大å¦', 'Major' : 'çµæ°å·¥ç¨åå ¶èªå¨å', 'Degree' : 'æ¬ç§', 'Graduation' : }, 'Tel' : ', four, nine', 'Email' : 'newerè¾ç¹gmail.com', 'Target Positions' : re.compile( "'Python Developer'|DevOps",re.I|re.M).pattern } @property @colorprint('个人ç¹ç¹') def characteristics(self): return { 'å¿çæ¿åè½å强': 'ä»é计ç®æºä¸ä¸-excel VBAèªå¨å-Pythonå¼å', 'çè¡·ååç±': 'æ£æ¯å 为å欢Python, ææä¼æ¾å¼éè´ç®¡ç', 'èªå¦è½å强': 'èªå¦excel VBAåPythonå®æ项ç®å¹¶æ»¡è¶³éæ±', 'æ¯ ååèæ§': 'å¹´7æ,ç¨8天æ¶é´éªè½¦ä»ä¸æµ·åæ¹åè家', 'is_geek' : True } @property @colorprint('个人è½å') def skills(self): return { 'Language' : { 'çæ' : ['Python', 'VBA'], 'äºè§£' : ['JavaScript', 'C']}, 'OS' : ['macOS', 'Ubuntu', 'åµå ¥å¼Linux'], 'Tool' : ['PyCharm', 'IPython', 'Git'], 'Databaseandtools' : ['MongoDB', 'Redis', 'Memcached'], 'WebFramework' : { 'çæ' : ['Flask', 'Django'], }, 'OtherFramework' : ['Pandas', 'NumPy', 'Celery', 'Beautiful Soup'], 'Other' : 'CET-6' } @property @colorprint('å·¥ä½ç»éª', False) def work_experience(self): return enumerate([ { 'Time period' : '.8-.', 'Company Name' : 'ä¸æµ·ç´¢å¹¿æ åæéå ¬å¸(SONYæä¸)', 'Position' : 'éè´ç®¡ç' }, { 'Time period' : '.9-.', 'Company Name' : 'ä¸æµ·å®åçµåæææéå ¬å¸(å°æ¹¾é¦å¯çæ°¸åºä¹åéå¢æä¸)', 'Position' : 'éè´å' }, ]) @property @colorprint('项ç®ç»éª', False) def projectexperience(self): return enumerate([ { 'Project' : 'VBAå®ç°èªå¨åæ°æ®åæ/æ°æ®æ±æ»/ç½é¡µè¡¨åæ交ç', 'Description' : ('å¨åºå管çåéè´ä¸å¡æ¨è¿çå·¥ä½ä¸,éè¿èªå¦excelå ¬å¼åVBA,' 'å°å项ä¸å¡éç¨excel VBAå®ç°èªå¨å.') }, { 'Project' : 'éªçç»åä»ä½åæå·¥å ·', 'Description' : ('å端使ç¨FlaskåBeautiful Soup,å端使ç¨AngularåD3å¼åçå页é¢åºç¨ï¼' 'è·åéªçIDå ³æ³¨çç»åçè°ä»ä¿¡æ¯åå ³æ³¨ç»åç累计è¡ç¥¨ä»ä½.') }, { 'Project' : 'Django By Exampleéè¡ä¸æ注é', 'Description' : ('Django By Exampleå ¨ä¹¦æå个å®æ´çDjangoå·¥ç¨é¡¹ç®,åå«æ¯å客ç½ç«,å¾ç书ç¾ç¤¾äº¤ç½ç«,' 'è´ç©ç½ç«åå¨çº¿æè²ç½ç«.æå¨éè¡æå代ç ,è°è¯è¿è¡æåå,对代ç ç»åºéè¡æ³¨é.') }, { 'Project' : 'Django-CMSæºä»£ç åæ', 'Description': ('è¿å¨è¿è¡ä¸.ä½ä¸ºä¸ä¸ªå¤§åDjango项ç®åæççç½ç«çæå·¥å ·,' 'Django-CMSçæºä»£ç å¯ä»¥ä½ä¸ºå®æ½Django项ç®çæå¨åè.') } ]) @property @colorprint('@Where', False) def findme(self): return enumerate([ { 'Link' : 'blogs.com/newer', 'Description' : '个人ææ¯å客'}, { 'Link' : '/newer', 'Description' : '个人GitHub主页'}, ]) def show(self): print(resume.str()) prolist = [i for i in dir(self) if not i.startswith('__')] for pro in prolist: getattr(self, pro) if __name__ == '__main__': resume = Resume() resume.show()
View Code
ãã以ä¸æ¯å¨macOS Python 3.5ç¯å¢ä¸è¿è¡ä»£ç çç»æã
æé纳谢谢
å¸æè½å¸®å©ä½
å¦ä½å¶ä½çµåçç®ï¼å¦ä½å¶ä½çµåçç®å
1ãæå¼WPSï¼å¨å·¦ä¾§æ¾å°â模æ¿åç±»âã2ãéæ©âç®åæ±èâã
3ãéæ©ä¸ä»½ç®å模æ¿æå¼ãå¯ä»¥æ ¹æ®èªå·±çéæ±æ索对åºå²ä½çç®å模æ¿ã
4ãæå¼ç®åæ´æ°éé¢çå 容å³å¯ã
å¦ä½å¦ä¹ ç¨LaTeXåç®å
å©ç¨LaTeXå¶ä½ä¸ªäººç®å
åäºæ¥åï¼æç¹æ èï¼å°±å¨ç½ä¸ééææ¯å¤§ççblogsï¼åç°å¾å¤å¤§çé½å欢ç¨pdfçå¼çç®åï¼åç°è¿ç§çå¼çç®åæçé常æ¼äº®ç®æ´ã深究äºä¸ä¸ï¼åç°å ¶å®æ¯å©ç¨LaTeXçæçï¼å¤è¯´ä¸å¥ï¼ä¸å¾ä¸ä½©æDonaldE.Knuth大å¸åæçTeXæççç¡®æ¯ç¾è§ï¼ã
LaTeXæ许ä¸æ¯å¾å¤äººç¥éï¼ä½æ¯é£äºå¿çåpapersçMaster CandidateãPh.D Candidateåºè¯¥æ¯é常äºè§£çãå½ç¶ï¼é£äºè¦é¼çæ°å¦ç³»çå©å们åºè¯¥ä¹æ¯ç¥éï¼å 为word对äºæ°å¦å ¬å¼çæçææç¸æ¯äºLaTeXï¼è¿æ¯å·®çè¿äºãè³äºLaTeXçå ·ä½ä¿¡æ¯ï¼è¿éå°±ä¸åºè¯ï¼æå ´è¶£çåå¦å¯ä»¥å°Googleä¸ç¾åº¦ä¸ä¸çã
è¨å½æ£ä¼ ï¼LaTeXåç®åè°ä½å®¹æï¼å°¤å ¶æ¯ä»å¤´åèµ·ï¼è¿å°¤å ¶å¯¹äºæè¿æ ·çLaTeXèé¸èè¨ï¼æ´æ¯é¾å¦ç»å¤©ãäºæ¯Googleäºä¸æï¼æ¾å°ä¸ä¸ªå«moderncvçå ±äº«ç®å模æ¿ãæäºæ¨¡æ¿ï¼é£ä¹å°±ç®åå¤äºï¼æå´ä¸å¥ï¼å ¶å®åç°æäºå¤§çç¨çä¹æ¯è¿ä¸ªæ¨¡æ¿æ¹åçï¼ã
ä¸è½½ä¸æ¥ååºè¯¥æ¯ä¸ä¸ªzipå ï¼è§£ååç®å½å¦ä¸ï¼
å ¶ä¸.styæ件é½æ¯å®ä¹ç®åé£æ ¼çæ件ï¼è¿æé£ä¸ªmoderncv.clsæ件ãå ¶å®è¿äºé½æ¯ç¼åLaTeXé£æ ¼æºç åçæçï¼æå ´è¶£çåå¦å¯ä»¥ç»§ç»æ·±ç©¶ä¸ä¸LaTeXçå ¶ä»ç¥è¯ï¼åºè¯¥ä¼æææ¶è·çãè¿äºæ件å¨åæ们ç¼è¯èªå·±çç®åæ¶ä¼ç¨å°ã
æ¥ä¸æ¥ççexamplesæ件夹ï¼
好äºï¼è¿éé¢ä¸è¥¿ä¹å¾å¤ï¼ç¨å¾®æç¹LaTeXçåå¦å°±ä¼ç¥éï¼å ¶å®ï¼åªæé£å 个.texæ件使æ们æ³è¦çï¼èä¸ä¹æ¯é常éè¦çã为ä»ä¹ï¼å 为é£äºä¸ªæ件就æ¯æ¨¡æ¿åãæ们çç®åççæå°±é å®ä»¬äºã
.texæ件æä¸ä¸ªï¼template.texï¼template-es.texï¼template-zh.texï¼é¡¾åæä¹ï¼è¿ä¸ªä¸ä¸ªæ¨¡æ¿è¡¨ç¤ºä¸è±æç®åç模æ¿ï¼å ¶å®template.texå°±æ¯è±æ模æ¿ï¼ètemplate-es.texæ¯ä»ä¹è¯ç§ç模æ¿ï¼æä¹ä¸ç¥éï¼åæ£ä¸æ¯è±æ模æ¿ã
好äºï¼å©ä¸å°±æ¯å¼å§åæ们çç®åäºï¼æ们å 建ç«ä¸ä¸ªæ件夹ï¼å¦MyCVä¹ç±»çå¦ï¼ç¶åæåé¢æå°ç.styæ件ã.clsæ件è¿æ.texç模æ¿æ件æ¾è¿å»ãå°±åä¸é¢ï¼
æ模æ¿æ件çååæ¹æ个人å好çé½å¯ä»¥çï¼å¦æå°±æ¹æäºmy_cv_en.texåmy_cv_en.texãå©ä¸æ¥æ们就å¼å§å¯¹æ们çç®å模æ¿å¼å§ç¼è¾äºï¼ææ¯ç¨çNotePad++ï¼å½ç¶å¤§å®¶å¯ä»¥ç¨å ¶ä»çç¼è¾å¨ï¼å¦WinEdtãTexmakerï¼çè³ä½ å¯ä»¥ç¨wordï¼txtççï¼å½ç¶ææ¯æ¢ä¸èµæå两è çï¼å°¤å ¶txtï¼å½ä½ 使ç¨åï¼å°±ä¼å¯¹é£ä¸å¯¹æ²¡æé«äº®æ¾ç¤ºï¼æ²¡æ缩è¿ç代ç æççã
è¿ä¸ªæ¯æç¨Notepad++æå¼çtemplate.texçææ¡£ï¼ææè¿æ¯å¯ä»¥çã
好äºï¼å¦ä½æ¹åè¿å 代ç ï¼å ¶å®æºå®¹æçï¼æ¨¡æ¿ä¸æçé£ä¹å¤ç注éï¼å¾å¥½çæ¹çï¼å¥½å§ï¼ææç¹å·æï¼è¿ä¸ªä»¥ååä»ç»ï¼ã
çæ们æ¹å¥½ä¸ªäººä¿¡æ¯åï¼å©ä¸æ¥å°±æ¯ç¼è¯äºã
æç¨çæ¯CTexçå¥è£ ï¼ç¶åå©ç¨WinEdtæ¥ç¼è¯ï¼è¿ä¸ªçç¡®æ¯æç¹å·æäºï¼ä¸è¿å¯è§åççé¢çç¡®æ¯æ¹ä¾¿åãç¨WinEdtæå¼æ们ç¼è¾ç.texæ件就å¯ä»¥äºï¼å½ç¶ï¼ä¹å¯ä»¥ç¨è¿ä¸ªç¼è¾å¨å»ç¼è¾.texæ件ã
CTexä¸è½½å°åï¼
CTexä¸å ¶å®å°±å å«æWinEdtã
è±æ模æ¿ç´æ¥ç¨é£ä¸ªLaTeXæé®ç¼è¯ï¼è½ç¶ä¸æ模æ¿æ¶åå°ç¼ç é®é¢ï¼ä½å ¶ä¸ä½¿ç¨CJKçå ï¼ä¹æ¯ç´æ¥ä½¿ç¨LaTeXæé®ç¼è¯ãï¼è¡¥å½ï¼æ¤å¤å¯è½æ²¡ææè¿°æ¸ æ¥ï¼LaTeXå½ä»¤åªä¼çæ.dviæ件ï¼è¿é继ç»ç¼è¯æpdfæ件ï¼å¯ä»¥ç´æ¥ä½¿ç¨pdfLaTeXæé®ç´æ¥çæpdfæ件ï¼ç»è¯éªè¯å®ï¼UTF-8æ BOMç¼ç çæºæ件å¯é¡ºå©çæpdfææ¡£ï¼åªè¦ä¸é´æ们没æåéä»ä¹è¯å¥ä¹ç±»çï¼æ¥ä¸æ¥æ们就å¯ä»¥å¨æ件夹ä¸ï¼å¦MyCVSï¼çå°çæçpdfæ件ãæçææç¸å½çä¸éæ»´ã
模æ¿é£æ ¼æ好å 个ï¼å¦casual(default), classic, oldstyle 以åbankingï¼è¿æé¢è²ä¹æå ç§ï¼blue(default), orange, green, red, purple, grey åblackãå ·ä½çè¦æ±å¯ä»¥æ ¹æ®æ³¨éèªè¡æé ã
blue-casual
å ¶ä»å ç§é£æ ¼ï¼
æ»ç»ï¼
1.对äºLaTeXåºè¯¥ææäºè§£ï¼æç½LaTeXå个å½ä»¤çå«ä¹ã
2.ç解模æ¿ä¸çå项å½ä»¤çå«ä¹ï¼æ¨¡æ¿æ³¨éä¸æ解éï¼å¯ä»¥èªå·±å°è¯æ¹å¨ä¸ä¸ã
3.çµèä¸è£ æLaTeXç¼è¯å¨ï¼ä¾å¦æå°±è£ æCTexå¥è£ ã
4.好å¥å¿åèå¿ã
æäºä»¥ä¸çæ¡ä»¶ï¼ä½ å°±åºè¯¥å¯ä»¥ååºä¸ä¸ªæ¼äº®çç¨LaTeXåçç®åäºã
-------------------------------------------------------------------------------------------
åè®°ï¼ç±äºä¸ªäººä¹ æ¯ä½¿ç¨UTF-8æ BOMçæä»¶æ ¼å¼ï¼å¯è½é ææäºå¤±è¯¯æ讲述ä¸æç¡®çå°æ¹ãå¦å¤æ¨è使ç¨å¦ä¸æ¬¾å¼æºçLaTeXç¼è¾å¨TexMakerã