摘要: 1、文件读取 相对路径打开文件 f = open('test.txt',mode='r',encoding='utf-8') f = open('../第9章/test2.txt','r',encoding='utf-8') f = open('../test3.txt','r',encoding= 阅读全文
posted @ 2025-12-26 15:18 jake瑞 阅读(4) 评论(0) 推荐(0)