摘要: 一、文件的读写 1、文件的打开,注意事项 1)路径要正确 2)格式要带全(.txt) filedir = D:\software\HelloWorld\songqin\python\lesson11 文件的读写/test1.txt' # /的好处是避免出现转义字符 filedir1 = 'd:\so 阅读全文
posted @ 2018-11-28 23:02 风吹麦浪听涛声 阅读(258) 评论(0) 推荐(0) 编辑