TED3(2) What 30 is not the new 20


sports car 敞篷车 identity crisis 身份危机 identity n.身份 crisis n.危机 entertainment n.娱乐 but then would collect herself by saying 但是她随后会镇静下来说到 but then 但随后 co

网络编程


概述:网络编程也叫网络通信,Socket通信,即:通信双方都独有自己的Socket对象,数据在Socket之间通过数据报包(UDP)或者字节流(TCP)的形式进行传输 端口号,IP,协议 IP 寻找唯一电脑,设备在网络中的唯一标识 端口号 寻找唯一程序,程序在设备中的唯一标识 协议 双方都要遵守的规

TED3(1) Why 30 is not the new 20


top n.上衣 drop onto 坐在,坐到,掉落到 couch n.沙发 kick off 踢掉 flat n.鞋 relieve v.缓和,减轻 I am so relieved. 我松了一口气 handle v.处理,应付 session n.会面,会期 nod v.点头致意 n.点头 d

异常


关键字:try...except... # 异常使用基础 # try: # 1/0 # except ZeroDivisionError as e: # # 异常输出 # print(e) # # 捕获多个异常,但无法区分 # try: # open('asd','

Python文件操作


文件操作3大步: 打开,读或写,关闭 f=open('C:\\Users\\Lenovo\\Desktop\\a.txt','r',encoding='utf-8') content=f.read() print(content) f.close() 打开文件 f=open(name, mode,

Python闭包装饰器,深浅拷贝

Python 

闭包和装饰器 闭包是装饰器的前提 闭包可以保存函数内的变量,而不会随着调用完函数而被销毁 构成条件: 1,有函数嵌套 2,内函数使用外函数的参数 3,外函数将内函数返回出去 使用了外部函数的变量的内部函数称之为闭包 def func1(info): def func2(): # 函数嵌套

TED2:Where will you be able to live in 20 years


coastal n.沿海的 incredibly adv.极其,非常(比very好) capable adj.实干的,有能力的 abundant adj.大量的 bring...in... 携带... wash...away 冲刷... the ebbs and flows 潮起潮落,起伏变化 ev

Python进阶

Python 

类与对象 关键字self:指向对象实例本身,像this指针 #简单类的实现 class Phone: def open(self): print("手机开机了") def off(self): print("手机关机了") def photo(

TED 1


call out 呼喊 a lot of==lots of 许多,大量,用于修饰名词(可数和不可数均可) this could be the best day ever ever表示胜过其他日子。这也许是最棒的日子 and yet 然而,可是 as yet 到目前为止,迄今为止(常用于否定) is

Linux


描述路径层级关系使用/ 例:/root/user/local/hello.txt 第一个斜杠表示顶级目录根,其余表示层级关系 基础命令 格式:command [-options] [parameter] 命令本身 命令选项 命令参数 A 通过某个方式指向 谁 ls命令 用于列出目录下的内容
弹