2020年8月4日
摘要: #读取文件操作,# 当前路径with open('pi.txt') as file: print(file.read())# 绝对路径with open('D:\db.txt') as file: print(file.read())# 这样执行打出来的会多一行空白,是因为每个末尾都有一个换行符fi 阅读全文
posted @ 2020-08-04 21:08 苏小沫 阅读(152) 评论(0) 推荐(0)