摘要: # readlines() read() with open('pi_digits.txt') as file_object: #函数open()接受一个参数:要打开的文件的名称。 contents = file_object.read() print(contents) print(content 阅读全文
posted @ 2019-02-27 23:30 波波皮球 阅读(90) 评论(0) 推荐(0) 编辑