2019年5月9日
摘要: #文件的读取 #只读: # f = open('d:\python学习\练习\day07\cc.txt',mode='r',encoding='utf-8') #绝对路径 # content = f.read() # print(content) # f.close() # f = open('cc.txt',mode='r',encoding='utf-8') #相对路径 "r"为只读 # c... 阅读全文
posted @ 2019-05-09 17:40 orange小橘子 阅读(116) 评论(0) 推荐(0) 编辑