摘要: import os #读取文件数据 print(os.path.dirname(__file__)) with open('./test.txt', 'r',encoding='UTF-8') as file: content = file.readlines() file.close() 对于数据 阅读全文
posted @ 2024-04-02 19:27 小戳同学 阅读(24) 评论(0) 推荐(0) 编辑