摘要:
综合对话类 task3 破题技巧 reading part 信号词及总结 45'读+归纳 20'说完 what policy: announce, plan, decide, is going to, will, is about to, is committed to proposal: thin 阅读全文
摘要:
关键字 引子 命名空间和作用域 函数嵌套及作用域链 函数名本质 闭包 引子 写函数,取三个数中的最大值,并打印 / 理解return的含义 / 进而命名空间及其规则 # 计算三个值中的最大值 def max(a, b): m = a if a > b else b return m def t_ma 阅读全文
摘要:
写 只写 # 只写 # utf-8 f = open('us', mode='w', encoding='utf-8') f.write('tonight, i can write down the most beautiful lines') f.close # bytes f = open('u 阅读全文
摘要:
问题 # 会出现索引溢出现象 li = [1, 2, 3, 4, 5] for i in range(li): li.pop(i) print(li) # dictionary false dic = {'k1':'1', 'k2':'2', 'k3':'3'} for i in dic: if ' 阅读全文
摘要:
查看当前目录 pwd 进入某目录 cd 列举 ls ls -a 显示所有文件,包括隐藏的文件 ls -l 以列表的形式 ll 创建目录 mkdir -p 创建多级目录 删除目录 rmdir 删除空目录 rm -rf 删除非空目录/ r 递归/ f 不提醒 创建文件 touch 复制 cp [选项] 阅读全文