2020年12月27日

python常用方法

摘要: 1 #python3.9.1 2 # #1.逐行读取文件返回list 3 # def getList(dir,fileNm): 4 # list = [] 5 # fl = open(dir+"\\"+fileNm) 6 # line = fl.readline() 7 # while line: 阅读全文

posted @ 2020-12-27 14:09 达摩克利斯 阅读(67) 评论(0) 推荐(0) 编辑

导航