{ "export": [ "file_basic.json", "file_piece_sha256.json" ], "keywords": [], "children": [ { "打开文件": { "keywords": [], "children": [], "node_id": "python-4-188", "keywords_must": [], "keywords_forbid": [] } }, { "文件基本方法": { "keywords": [], "children": [], "node_id": "python-4-189", "keywords_must": [], "keywords_forbid": [] } }, { "文件内容迭代": { "keywords": [], "children": [ { "每次一个字符(或字节)": { "keywords": [], "children": [], "node_id": "python-5-123", "keywords_must": [], "keywords_forbid": [] } }, { "每次一行": { "keywords": [], "children": [], "node_id": "python-5-124", "keywords_must": [], "keywords_forbid": [] } }, { "读取所有内容": { "keywords": [], "children": [], "node_id": "python-5-125", "keywords_must": [], "keywords_forbid": [] } }, { "使用fileinput实现延迟行迭代": { "keywords": [], "children": [], "node_id": "python-5-126", "keywords_must": [], "keywords_forbid": [] } }, { "文件迭代器": { "keywords": [], "children": [], "node_id": "python-5-127", "keywords_must": [], "keywords_forbid": [] } } ], "node_id": "python-4-190", "keywords_must": [], "keywords_forbid": [] } }, { "文件的基本方法": { "keywords": [], "children": [ { "读取和写入": { "keywords": [], "children": [], "node_id": "python-5-128", "keywords_must": [], "keywords_forbid": [] } }, { "使用管道重定向输出": { "keywords": [], "children": [], "node_id": "python-5-129", "keywords_must": [], "keywords_forbid": [] } }, { "读取和写入行": { "keywords": [], "children": [], "node_id": "python-5-130", "keywords_must": [], "keywords_forbid": [] } }, { "关闭文件": { "keywords": [], "children": [], "node_id": "python-5-131", "keywords_must": [], "keywords_forbid": [] } }, { "使用文件的基本方法": { "keywords": [], "children": [], "node_id": "python-5-132", "keywords_must": [], "keywords_forbid": [] } } ], "node_id": "python-4-191", "keywords_must": [], "keywords_forbid": [] } } ], "node_id": "python-3-24", "keywords_must": [], "keywords_forbid": [] }