文章列表Python常用功能文件处理文件读写On this page文件读写open & with打开文件with open(file_path, mode, encoding) as f: data = f.read()