用Python编写背单词的小程序

最近在准备一个成人学士学位的英语考试(长春工业大学计算机专业本科),需要背一些常用的词汇和短语。不愿动笔写,那就用Python编一个自动浏览的小程序,实现这个功能。

操作系统:Mac OS

IDE: Pycharm 2020

功能:

单行输出每个英文词组和对应的汉语解释,如果是长的词组就停留13秒钟,否则10秒钟更新。利用字典的数据结构,英文单词作为键,汉语解释作为值(列表的形式)。

代码如下:

import time
import sys

words_dic = {
    'abide by': ['忠于遵守, =be faithful to'],
    'be absent from': ['缺席,不在'],
    'absence of mind': ['心不在焉', 'being absent-minded'],
    'be absorbed in': ['全身贯注于', 'be engrossed in', 'be lost in', 'be rapt in', 'be concentrated on',
                       'be focused on', 'be centered on'],
    'be abundant in': ['富于,富有', 'be rich in', 'be well supplied with'],
    'access to': ['能接近,进入,了解'],
    'by accident': ['偶然地,意外', 'by chance'],
    'without accident': ['=safely', '安全地'],
    'of one\'s own accord': ['自愿地,主动地'],
    'in accord with': ['与....一致'],
    'out of one\'s accord with': ['同...不一致'],
    'with one accord': ['一致地'],
    'in accordance with': ['依照,根据', '=in agreement with'],
    'on one\'s own account': ['为了某人的缘故,为了某人自己的利益', '=at one\'s own risk,自行负责', '=by oneself, 依靠自己'],
    'on account': ['赊账'],
    'on account of': ['因为'],
    'on no account': ['不论什么原因也不'],
    'of... account': ['有...重要性'],
    'take...into account': ['把...考虑进去'],
    'give sb. an account of': ['说明,解释(理由)'],
    'account for': ['解释, 说明'],
    'on account of ': ['由于,因为', '=because of'],
    'on no account ': ['绝不要,无论如何不要(放句首时要倒装)', '=in no case', 'for no reason'],
    'accuse...of': ['指控,控告', '=charge...with', 'blame sb. for sth.', 'blame sth. on sb.', 'complain about'],
    'be accustomed to ': ['习惯于', '=be in the habit of', 'be used to'],
    'be acquainted with': ['了解', '熟悉'],
    'act on': ['奉行', '按照....行动', 'act as 扮演', 'act for 代理'],
    'adapt oneself to': ['使自己适应于', '=adjust oneself to', 'adapt for 改编,改写(以适应新的需要)'],
    'in addition': ['此外', '又', '加之'],
    'in addition to': ['除...外', '=other than'],
    'adhere to': ['黏附', '坚持', '遵循'],
    'adjacent': ['毗邻的, 临近的', '=next to', '=close to'],
    'adjust to': ['调节', '适应'],
    'admit of': ['....的可能', '留有....的余地', '=leave room for'],
    'in advance': ['预告', '事先'],
    'to advantage': ['有利的', '使优点更加突出地', 'have an advantage over, 胜过'],
    'have the advantage of': ['由于....处于有利条件'],
    'take advantage of': ['利用', '=make the best of', 'make use of'],
    'agree with': ['赞同(某人意见)'],
    'agree to': ['同意'],
    'in agreement with': ['同意, 一致'],
    'ahead of': ['在...之前', '超过....'],
    'ahead of time': ['提前'],
    'in the air': ['不肯定,不具体', '在谣传中'],
    'above all': ['尤其是', '最重要的'],
    'in all': ['总计,总共'],
    'after all': ['毕竟', '到底'],
    'not at all': ['一点也不'],
    'first of all': ['首先'],
    'all in all': ['大体上说'],
    'be all in': ['全力以赴'],
    'all but': ['几乎'],
    'allow for': ['考虑到', '估计到', '=take into consideration', '=take into account'],
    'amount to': ['总计', '等于', '=to be equal to'],
    'answer for': ['对...负责', 'undertake responsibility for', 'be liable for', 'take charge for'],
    'rely on': ['依靠', '信赖'],
    'be anxious about': ['为...焦急不安', '=anxious for'],
    'appeal to sb. for sth.': ['为某事向某人呼吁'],
    'appeal to sb': ['对某人有吸引力'],
    'apologize to sb. for sth.': ['为...向... 道歉'],
    'apply for': ['申请'],
    'apply to': ['适用', '与...相关'],
    'approve of': ['赞成', '=consent to', '=be in favor of', '=agree to'],
    'arise from': ['由...引起', '=be caused by'],
    'arrange for sb. to do sth': ['安排...做...'],
    'arrive on': ['到达'],
    'arrive at': ['到达某地(小地方),得出,作出'],
    'arrive in': ['到达某地(大地方)'],
    'be ashamed of': ['以...为羞耻'],
    'assure sb. to sth.': ['向...保证', '使...确信'],
    'attach to': ['缚,系, 结'],
    'make an attempt at doing sth./ to do sth': ['试图做...'],
    'attend to': ['注意'],
    'attend on/upon': ['伺候', '照料', '=wait upon', '=look after'],
    'attitude to/towards': ['对...的态度,看法'],
    'on the average': ['平均', '=on average', '=on an average'],
    'be aware of': ['意识到,知道', '=be conscious of'],
    'at the back of': ['在...后面'],
    'in the back of': ['在...后部(里面)'],
    'on the back of': ['在...后部(外面)'],
    'be on one\'s back': ['卧病不起', '=be ill in bed'],
    'at one\'s back': ['支持', '维护'],
    'turn one\'s back on sb.': ['不理睬(某人)', '背弃', '抛弃'],
    'behind one\'s back': ['背着某人(说坏话)'],
    'be based on/upon': ['基于'],
    'on the basis of': ['根据...', '在...基础上'],
    'beat...at': ['在...运动项目上打赢'],
    'begin with': ['以...开始'],
    'to begin with': ['首先,第一(经常用于开始语', '=first of all'],
    'on behalf of': ['以...名义'],
    'believe in': ['相信', '依赖,信仰', '=have faith/trust in'],
    'benefit from': ['受益', '得到好处'],
    'for the benefit of': ['为了...的利益(好处)'],
    'for the better': ['好转'],
    'get the better of': ['打败,胜过'],
    'by birth': ['在出生上', '论出身', '按血统'],
    'at birth': ['在出生时'],
    'give birth to': ['出生'],
    'blame sb. for sth': ['因...责备某人'],
    'blame sth. on sb.': ['把...推在某人身上'],
    'in blossom': ['开花(指树木)'],
    'be in blossom': ['开花(强调状态)'],
    'come into blossom': ['开花(强调动作)'],
    'on board': ['到船上', '在船上,上火车或飞机', ],
    'boast of/about': ['吹嘘'],
    'out of breath': ['喘不过气来'],
    'in brief': ['简言之'],
    'in bulk': ['成批地', '不散装的'],
    'take the floor': ['起立发言'],
    'on business': ['出差办事'],
    'be busy doing sth.': ['忙于做某事'],
    'be busy with sth.': ['忙于某事'],
    'last but one': ['倒数第二'],
    'but for': ['要不是', '表示假设'],
    'buy sth. for ...money': ['用...多少钱买'],
    'be capable of': ['能够, 有能力'],
    'be capable of being + 过去分词': ['能够被...的'],
    'in any case': ['无论如何', '=at any rate', '=at any price', 'at any cost', 'whatever happens'],
    'in case': ['万一', '=for fear that'],
    'in case of': ['如果发生...', '万一', '=in the event of'],
    'in the case of': ['至于...', '就...而言'],
    'in no case': ['在任何情况下都不'],
    'be cautious of': ['谨防'],
    'center one\'s attention on': ['把某人注意力集中在...上', '=focus one\'s attention on'],
    'be certain of': ['有把握,一定', '=be sure of'],
    'for certain of': ['肯定地,有把握地', '=for sure'],
    'by chance': ['偶然', '=by accident'],
    'in charge of': ['负责(某事)', '=responsible for'],
    'in the charge of...': ['由...管'],
    'take charge of': ['负责管理(照顾)'],
    'charge ... for': ['因...索取(费用)'],
    'charge sb. with sth.': ['控告某人犯有....'],
    'round the clock': ['昼夜不停地'],
    'comment on': ['评论'],
    'commit oneself to': ['使自己承担...'],
    'commit sb. to prison': ['把某人送进监狱'],
    'commit one\'s idea to writing': ['把某人的想法写下来'],
    'commit a matter to a committee': ['把某事交给委员会讨论'],
    'in common': ['(和....)有共同之处,共用'],
    'be common to sb.': ['是与某人所共有的'],
    'keep company with': ['和...要好', '与...结交'],
    'compare... with...': ['把...与...比较'],
    'compare...to...': ['把...比作...'],
    'by comparision': ['比较起来'],
    'in comparison with': ['和...比起来', '=in contrast to'],
    'compensate for': ['补偿', '赔偿', '弥补'],
    'compensate sb. for sth.': ['因...向某人赔偿'],
    'complain of/about': ['抱怨', '诉苦', '控告'],
    'complain to sb. about sth./sb.': ['向某人抱怨....'],
    'conceive of': ['想象,设想', '=think of'],
    'be concerned with': ['与...相关'],
    'in conclusion': ['总之'],
    'at the conclusion of': ['当...结束时'],
    'on condition that': ['以...为条件,假如', '=if'],
    'in that': ['因为', '=because'],
    'now that': ['既然', '=since'],
    'for all that': ['尽管', '=although'],
    'in (out of) condition': ['健康状况好(不好)'],
    'in good (bad) condition': ['处于良好(坏)状态'],
    'confess to': ['承认', '供人'],
    'confess to a crime': ['承认罪行'],
    'confide in': ['对...讲真心话,依赖'],
    'in confidence': ['秘密地,暗中'],
    'with confidence': ['满怀信心地'],
    'have confidence in': ['对...有信心'],
    'be confident of': ['有信心'],
    'confine...to...': ['把...限制在某范围内'],
    'confirm sb. in': ['使某人更坚定(信念等)'],
    'conform to': ['符合,遵照,遵守', '=be in agreement with', '=comply with'],
    'be confronted with': ['面对', '面临'],
    'congratulate sb. on': ['祝贺'],
    'in connection with': ['关于', '=with regard to'],
    'be conscious of': ['觉察,知道', '=be aware of'],
    'consent to': ['同意'],
    'in consequence': ['结果', '=as a result'],
    'under consideration': ['在考虑中'],
    'in consideration of': ['由于', '=on account of, because of'],
    'on no consideration': ['无论如何也不', '=in no case'],
    'take... into consideration': ['考虑到', '把...考虑进去', '=take account of', '=take...into account'],
    'considerate': ['体贴地', '考虑他人需要地'],
    'considerable': ['相当大的,值得考虑的'],
    'consist of': ['由...组成的', '=be composed of'],
    'consist in': ['主要在于'],
    'consist with': ['符合', '与...一致'],
    'be consistent with': ['与...一致', '=be in agreement with'],
    'be consistent in': ['一贯的'],
    'consult sb. on/about sth.': ['向...征求...方面的意见,就....向....请教'],
    'to one\'s heart\'s content': ['尽情地', '心满意足'],
    'be content with': ['满足于', '=be satisfied with'],
    'be consent to do sth.': ['愿意做某事'],
    'contrary to': ['与...相反', '=in opposition to'],
    'on the contrary': ['相反'],
    'contrast...with': ['把...与...相对(对照)'],
    'by contrast': ['对比之下'],
    'contribute to': ['有助于'],
    'under control': ['(被)控制住'],
    'out of control': ['无法控制'],
    'at one\'s convenience': ['在方便的时间或地点'],
    'be convenient to/for': ['对...方便'],
    'convince sb. of': ['使某人确信'],
    'persuade sb. to do sth.': ['劝说某人做...'],
    'cope with': ['应付,处理'],
    'in the corner of': ['在角落里'],
    'on/at the corner of a street': ['在街道拐弯处'],
    'round the corner': ['拐过弯'],
    'be in a tight corner': ['陷入困境'],
    'correspond to': ['相当于'],
    'correspond with': ['符合,一致'],
    'at all costs': ['不惜任何代价'],
    'at the cost of': ['以...为代价'],
    'a matter of course': ['理所当然的事'],
    'as a matter of course': ['当然地', '自然地'],
    'in/during the course': ['在...过程中'],
    'in due course': ['没经过太久', '到一定的时候', '=without too much delay'],
    'on credit': ['赊购'],
    'to one\'s credit': ['使某人感到光荣'],
    'be critical of': ['爱挑毛病的,批评的'],
    'cure sb. of + some illness(disease)': ['治好某人疾病'],
    'a danger to': ['对...的危险'],
    'be in danger of': ['处于...危险中'],
    'be out of danger': ['脱离危险'],
    'to date': ['到目前为止', '=so far', '=until now'],
    'out of date': ['过时的'],
    'up to date': ['新式的,时兴的'],
    'date back to': ['可追溯到'],
    'date from': ['从某时期开始(有)'],
    'deal with': ['论及', '处理'],
    'be in debt to sb.': ['欠....的债'],
    'on the decline': ['在衰退中', '在减少中'],
    'in decline': ['下降'],
    'on the increase': ['在增加'],
    'to one\'s delight': ['令某人感到高兴'],
    'to one\'s regret': ['令某人感到遗憾'],
    'to one\'s sorrow': ['令某人感到悲痛'],
    'to one\'s distress': ['令某人感到苦恼'],
    'to one\'s shame': ['令某人感到羞愧'],
    'to one\'s surprise': ['令某人感到惊奇'],
    'delight in': ['喜欢, 取乐'],
    'take delight in': ['喜欢干....', '以....为乐'],
    'to one\'s astonishment': ['令某人感到惊奇'],
    'demand sth. of sb.': ['向某人要求(非物质的)东西'],
    'demand sth. from sb.': ['向某人要求(物质的)东西'],
    'in demand': ['有需求'],
    'on demand': ['受到要求时'],
    'be dependent on': ['依靠'],
    'deprive sb. of sth.': ['剥夺某人某物'],
    'derive...from': ['从...取得', '由...来的', '=obtain...from', '=come from', '起源于'],
    'despair of': ['绝望'],
    'in despair': ['绝望'],
    'in detail': ['详细地'],
    'deviate from': ['偏离', '不按...办'],
    'on a diet': ['吃某种特殊饮食,节食'],
    'differ from ... in': ['与...的区别在于...'],
    'in difficulties': ['有困难', '处境困难'],
    'discharge sb. (from) ...for': ['因...解雇, 开除', '=dismiss sb. from a job for'],
    'fall back': ['撤退'],
    'in disorder': ['慌乱地,狼狈不堪地'],
    'on display': ['陈列'],
    'dispose of': ['处理掉', '=get rid of', '=throw away'],
    'beyond dispute': ['不容争议的,无可争议的'],
    'in dispute': ['在争议中'],
    'in the distance': ['在远处'],
    'make out': ['辨认出'],
    'be distinct from': ['与...截然不同', '=be different from'],
    'distinguish...from': ['把...与...区别开'],
    'do away with': ['除去, 废除, 取消', '=get rid of', '=kill', '杀掉,镇压'],
    'have ... to do with': ['与...有关系'],
    'without doubt': ['无可置疑地'],
    'in doubt': ['对...表示疑惑'],
    'be due to': ['是由于'],
    'come off duty': ['下班'],
    'go on duty': ['上班'],
    'be on duty': ['值班,值日,在上班时'],
    'be in duty bound to (do)': ['有义务(做)'],
    'be eager for': ['想得到, 盼望'],
    'by ear': ['凭记忆, 不看乐谱'],
    'have an ear for': ['对...有鉴赏力'],
    'on earth': ['究竟,到底,全然'],
    'with ease': ['容易, 不费力'],
    'at (one\'s) ease': ['自在,不拘束'],
    'put sb. at his/her ease': ['使某人感到无拘束'],
    'economize on': ['节省'],
    'have an effect on': ['对....有影响'],
    'be in effect': ['有效'],
    'go into effect': ['生效', '近come into effect;take effect; be brought into effect'],
    'in effect': ['实际上', '=in fact'],
    'give effect to': ['实行,使....生效', '=carry out'],
    'to no effect': ['不起作用', '没有取得任何效果'],
    '(be) of no effect': ['无效'],
    'to the effect that': ['大意是....', '主要内容是...'],
    'to that effect': ['是那个意思的...'],
    'emerge from': ['出现,暴露(问题,意见等)'],
    'place/put/lay an emphasis on': ['强调', '把重点放在...上'],
    'encourage sb. in': ['鼓励'],
    'encourage sb. in one\'s work': ['鼓励某人工作'],
    'on end': ['连续地'],
    '(be) at an end': ['结束了'],
    'no end of': ['很多', '大量'],
    'in the end of': ['最终'],
    'at one\'s wit\'s end': ['无法可想, 智穷才尽, 不知所措'],
    'end up with': ['以...而结束'],
    'come to an end': ['结束'],
    'end in': ['以...结束'],
    'engage in': ['忙于, 从事', '=be engaged in'],
    'enter for': ['报名参加'],
    'enter into': ['开始(谈话,谈判等)进入,', '讨论,成为...的一部分'],
    'enter on/upon': ['开始(一个时代,一种生涯,一段任期等)'],
    'be entitled to': ['有权...', '有资格...'],
    'be equal to': ['等于'],
    'be/feel equal to': ['(某人)能胜任,能应付'],
    'on equal terms':['平等地'],
    'be equipped with': ['装备有,装有'],
    'be equivalent to': ['相等于', '相当于'],
    'in essence': ['本质上'],
    'at all events': ['不论怎样,无论如何'],
    'in any event': ['无论如何', '不管(将来)怎么样'],
    'in the event that': ['假如, 如果', '=if'],
    'in the event of': ['万一,即使发生...时', '=in case of'],
    'except': ['除了', '=but'],
    'except for': ['除...以外', '=apart from'],
    'besides': ['除...以外还有...'],
    '(an) exception to': ['...的例外'],
    'with the exception of': ['除去...', '除...以外'],
    'in excess of': ['=more than', '超过'],
    'exchange...for': ['以...交换'],
    'exclusive of': ['不包括'],
    'in excuse of': ['作为...的借口'],
    'exert on...': ['对...施加'],
    'exert oneself to do sth': ['努力, 使劲'],
    'come into existence': ['开始存在'],
    'come into use': ['开始使用'],
    'come into effect': ['开始运转'],
    'come into fashion': ['开始风行'],
    'come into action': ['开始行动'],
    'come into power': ['开始执政'],
    'come into sight': ['进入视野'],
    '(be) in existence': ['存在'],
    'expect of': ['期望'],
    'at the expense of': ['在损害...情况下', '以...为牺牲'],
    'expose ... to...': ['使暴露于...', '使...受(危险,风险)'],
    'be exposed to': ['面临...,受到....'],
    'beyond expression': ['无法形容', '说不出的'],
    'give expression to': ['表达,表现'],
    'find expression in': ['表现'],
    'to...extent':['在....程度上'],
    'in the extreme': ['极其'],
    'look sb. in the eye': ['正视,打量(某人)'],
    'close/shut one\'s eyes to': ['不理会,视而不见'],
    'in one\'s mind\'s eye': ['在心目中', '在想像中'],
    'in the twinkling of an eye': ['一眨眼,转眼间'],
    'keep an eye on': ['照看,监视'],
    'in the eyes of': ['在某人看来,在某人眼里', '=in one\'s eyes'],
    'on the face of it': ['表面看来'],
    'in the face of': ['面对着(困难等情况)'],
    'in one\'s face': ['当着某人的面'],
    'face to face': ['面对面'],
    'face up to': ['大胆面向'],
    'fail in': ['失败'],
    'in good faith': ['真诚地'],
    'keep faith with': ['对...守信用'],
    'lose faith in': ['对...失去信心'],
    'on faith': ['毫无怀疑地, 依赖地'],
    'faithful to': ['对...忠诚', '=loyal to'],
    'fall into the habit (of)':['养成...习惯'],
    'fall short of': ['没达到,低于'],
    'be familiar with': ['熟悉,了解'],
    'have a fancy for':['(没有道理地)喜欢,想要'],
    'take a fancy to':['喜欢', '=become fond of'],
    'by far': ['远,非常(与比较级或最高级连用'],
    'far from': ['远远不是'],
    'in fashion': ['时兴,流行'],
    'after the fashion of': ['模仿,仿照'],
    'find fault with': ['找毛病,对...吹毛求疵','=complain about'],
    'at fault':['有错'],
    'in favour of': ['赞成'],
    'be in favour with': ['受宠', '受偏爱'],
    'out of favour with': ['失宠', '不受宠'],
    'in one\'s favour': ['对...有利', '=to one\'s advantage'],
    'be favourable to':['有利的, 赞成'],
    'fear for':['为...担心'],
    'for fear of': ['以防,由于怕', '=in case of'],
    'in fear of': ['担心'],
    'feed (sb.) on sth.': ['靠吃...', '用...喂养'],
    'be fed up with':['厌烦, 腻了'],
    'feel like':['想要', '=have a desire for'],
    'remark on/upon':['对...发表评论'],
    'remedy for': ['对...治疗法', '不救,药物'],
    'remind sb. of':['提醒某人....,使某人想起'],
    'in good repair':['处于良好状态', '=in good condition'],
    'be under repair':['在修理中'],
    'reply to': ['答复,回答'],
    'beyond reproach': ['不受责备的'],
    'beyond (all) reason': ['毫无道理'],
    'beyond question': ['毫无疑问'],
    'beyond belief': ['难以相信'],
    'beyond hope': ['绝望'],
    'resort to': ['诉诸...', '求助于...'],
    'resort to force': ['诉诸武力'],
    'in/with respect to': ['有关,关于'],
    'rest on/upon':['依靠,寄托', '=be supported by'],
    'rest with':['在...手中', '是...的责任', '由...决定(依靠)', '=be in hand of'],
    'restrain... from': ['抑制...不...', '=hold back from'],
    'restrict...to':['把...限制于...'],
    'result in': ['导致'],
    'with the result that': ['其结果是'],
    'in return(for)': ['作为报答, 以报答'],
    'rarely': ['很少地,罕见地'],
    'in the red': ['亏损,负债,赤字'],
    'be/get out of red': ['不再亏损'],
    'refer...to..as':['把...称作'],
    'refer...to...':['送交,呈交'],
    'with/in reference to':['关于'],
    'with/in regard to':['有关,关于'],
    'give one\'s regards to sb.':['向...问候'],
    'regardless of':['不顾,不考虑'],
    'in/with relation to':['关于, 有关'],
    'relevant to': ['与...有关的'],
    'to one\'s relief': ['令...感到放心的是'],
    'prohibit....from': ['禁止,阻止'],
    'in proportion to': ['与...成比例'],
    'protect...from':['阻止...不受,保护不受'],
    'be proud of':['为...自豪'],
    'provide for': ['为...做准备'],
    'in public': ['公开地,当众'],
    'on purpose': ['故意'],
    'to the purpose': ['得要领的, 中肯的'],
    'be qualified for': ['在某种职业上合格'],
    'be qualified in':['在某种科目或学科上合格'],
    'call...in question': ['对....表示怀疑'],
    'beyond (all) question':['毫无疑问'],
    'out of the question': ['不可能的'],
    'in question': ['所谈及的'],
    'without question': ['毫无疑问'],
    'be caught in the rain': ['被雨淋了'],
    'at random': ['随便地,任意地, 胡乱地'],
    'range over': ['范围包括'],
    'range between': ['范围在...与...之间不等'],
    'at any rate': ['无论如何,总之'],
    'beyond the reach of': ['无法达到(得到,理解)'],
    'out of reach of': ['无法够到'],
    'within reach of': ['够得到,能拿到'],
    'react to': ['对...作出反应'],
    'react on': ['对...产生影响'],
    'react against': ['作出反抗或反对反应'],
    'be ready for':['准备好做....'],
    'in reality': ['事实上', '=in fact'],
    'beyond all reason':['没有道理的'],
    'by reason of': ['由于,因为', '=because of'],
    'it stands to reason that...': ['理所当然'],
    'reason with': ['劝说'],
    'passion for': ['对...的热爱, 热情, 酷爱'],
    'be patient with': ['对...耐心'],
    'pay for': ['赔偿, 付款, 报偿, 处罚'],
    'pay... for': ['付...的钱'],
    '(be) at peace with': ['与...和睦相处'],
    'in peace':['安静,平安'],
    'peculiar to...': ['特有的,独具的'],
    'penalty for': ['对...的处罚, 罚金'],
    'perform on the piano':['演奏钢琴', '=play the piano'],
    'persist in': ['坚持,固执'],
    'in person': ['亲自,当面'],
    'in place': ['放在应放的地方'],
    'in place of': ['代替', '=instead of'],
    'take (a) pleasure in': ['喜欢做某事'],
    'be on the point of doing sth.': ['刚要去做', '=be about to do sth.'],
    'beside the point': ['不切正题,无关紧要'],
    'come to the point': ['谈主要问题'],
    'there is no point in doing sth.': ['没必要做某事'],
    'to the point': ['中肯,切题'],
    'point at':['指着'],
    'point out': ['指出,指明'],
    'in the position of': ['处在...位置上'],
    'in practice': ['实际上(状语),业务熟练(表语)'],
    'be/get out of practice': ['不熟练'],
    'bring/put...into practice': ['使...成为现实'],
    'prefer...to...': ['宁要,更喜欢'],
    'prepare for breakfast': ['准备吃早饭'],
    'prepare breakfast': ['做早饭'],
    'in the presence of': ['在...在场的情况下'],
    'for the present': ['暂且,就现在来说'],
    'at present':['现在,此刻'],
    'mention sth. to sb.':['向某人提起某事'],
    'at the mercy of':['任...摆布,在...支配下', '=in the power of'],
    'be in a mess': ['乱七八糟,处境困难'],
    'make a mess of': ['弄乱,打乱'],
    'bear/keep... in mind': ['牢记'],
    'bring/call to mind': ['牢记'],
    'by mistake': ['(由于粗心,健忘原因而)错误地'],
    'at the moment':['=now', '此刻,现在'],
    'for the moment': ['暂时', '=for the time being'],
    'just a moment': ['稍等片刻'],
    'at the last moment': ['在最后一刻'],
    'in the mood for': ['有情绪去做...', '有心境做'],
    'no more...than': ['和...一样都不...'],
    'for the most part': ['多半, 大半数, 一般来说'],
    'at (the) most': ['最多, 至多'],
    'make the most of': ['充分利用'],
    'be not much of': ['不是很好的...'],
    'be something of': ['有点像...'],
    'name after': ['用...的名字命名'],
    'by nature': ['天生的,生来'],
    'in nature': ['本质上'],
    '(be) in the nature of':['属...性质'],
    'none other that': ['不是别人,正是...'],
    'above normal': ['高于正常(水平)'],
    'for nothing':['免费'],
    'nothing but':['只有, 不过...而已'],
    'to say nothing of': ['更用说...'],
    'do sth. at short notice': ['只给很少时间准备'],
    'until further notice': ['再另行通知前'],
    'take notice of':['注意', '=pay attention'],
    'object to': ['反对', '=be opposed to'],
    'objection to + doing': ['反对'],
    'on occasion': ['不时地,必要时', '=now and then'],
    'by occasion of': ['由于', '=because of'],
    'occupy oneself with/in':['忙于(某事)'],
    'it occurs to sb. that...': ['某人想到...'],
    'once and for all':['永远地', '=once and forever'],
    'all at once': ['立即, 马上'],
    'once in a while': ['偶尔'],
    '(just) for once': ['就这一次'],
    '(all) by oneself': ['独自(没有别人帮助)'],
    'operate on sb.': ['给某人做手术'],
    'come/go into operation':['开始运转'],
    'put/bring sth. into operation':['使...投产,运转'],
    'be of the opinion':['持有....的看法'],
    'in one\'s opinion': ['按某人的看法'],
    'be opposed to':  ['反对...'],
    'be opposite to': ['与...相反的'],
    'in order': ['井井有条,处于良好状态'],
    'out of order': ['出毛病,发生故障'],
    'made to order': ['定做的(衣服)'],
    'originate in/from': ['起源于,由...引起'],
    'owe...to': ['把...归于....'],
    'on one\'s own': ['单独'],
    'of one\'s own': ['某人自己的'],
    'keep pace with': ['跟...齐步前进'],
    'go to great pains': ['下功夫,努力','=take pains'],
    'part with': ['舍弃', '卖掉', '=give up'],
    'participate in': ['参加', '=take part in'],
    'be particular about': ['讲究,挑剔(吃,穿)'],
    'in particular': ['特别是,尤其'],
    'prevent..from': ['使...不', '防止...做'],
    'previous to': ['在...之前', '=prior to'],
    'take pride in': ['以...自豪', '=pride oneself on'],
    'pride oneself on/upon': ['以...自豪'],
    'in principle': ['原则上'],
    'prior to': ['在...之前'],
    'in private': ['私下,秘密地'],
    'in public': ['公开地'],
    'proceed from': ['由...发出, 由...引起(产生)', '=arise from, result from'],
    'proceed with':['继续进行'],
    'in progress': ['进行中'],
    'prevail over':['占优势, 压倒, 战胜'],
    'relieve... of': ['解除,解脱,帮助拿,辞退'],

}


while 1:
    for key, value in words_dic.items():
        sys.stdout.write(f'\r{key}   {str(value)}')
        sys.stdout.flush()
        if len(value) > 2:
            time.sleep(13)
        else:
            time.sleep(10)

有感兴趣的可以添加按任意键暂停或者按“Q”退出程序,还可以增加语音功能,后续会逐步完善这些功能。

  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Bruce_Liuxiaowei

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值