摘要: with open('filepath') as rename: for line in rename: ... with 命令下 不用使用close()函数关闭文件,打开的文件在with 代码块下有效。 python OS 模块:(import os) os.getcwd() # return t 阅读全文
posted @ 2019-02-25 21:35 已经崩盘了 阅读(503) 评论(0) 推荐(0) 编辑