摘要: 替换当前目录所有 .cpp 文件的Tab为 4 个空格 find ./ -name *.cpp -exec sed -i "s/\t/ /g" {} \; find: paths must precede expression:,将*.cpp 用双引号括起来 删除当前目录下所有名字为 a 的文件 f 阅读全文
posted @ 2018-12-11 10:47 诗酒 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 计算学分 #coding=utf8 import xlrd workbook = xlrd.open_workbook('record.xlsx') sheetbook = workbook.sheets()[0] isBixiu = sheetbook.col_values(4)[1:] #必修课 阅读全文
posted @ 2018-12-11 09:24 诗酒 阅读(169) 评论(0) 推荐(0) 编辑