11 2018 档案
摘要:路径不能有中文!! 参考: https://www.jianshu.com/p/47c456572e87 http://www.latexstudio.net/archives/12260.html
阅读全文
摘要:——空list不是None, 如:a = [],此时a不为None ——成员函数递归调用记得函数名前加self,不然默认是全局函数
阅读全文
摘要:file = open(path_in, mode='r', encoding='UTF-8', ... ... ) #打开文件,返回file对象 file.close() #关闭文件 file.read([size]) #读取指定字节数 file.readline([size]) #读取整行,包括
阅读全文