config.json 3.2 KB
Newer Older
F
feilong 已提交
1 2 3 4 5 6 7 8
{
  "export": [
    "file_basic.json",
    "file_piece_sha256.json"
  ],
  "keywords": [],
  "children": [
    {
F
feilong 已提交
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
        "文件的基本方法": {
          "keywords": [],
          "children": [
              {
                  "打开文件": {
                    "keywords": [],
                    "children": [],
                    "node_id": "python-4-188",
                    "keywords_must": [],
                    "keywords_forbid": []
                  }
              },
              {
                  "读取和写入": {
                  "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": []
                  }
              }
          ],
          "node_id": "python-4-191",
          "keywords_must": [],
          "keywords_forbid": []
        }
F
feilong 已提交
62 63 64 65 66 67 68 69 70
    },
    {
      "文件内容迭代": {
        "keywords": [],
        "children": [
          {
            "每次一个字符(或字节)": {
              "keywords": [],
              "children": [],
L
luxin 已提交
71 72 73
              "node_id": "python-5-123",
              "keywords_must": [],
              "keywords_forbid": []
F
feilong 已提交
74 75 76 77 78 79
            }
          },
          {
            "每次一行": {
              "keywords": [],
              "children": [],
L
luxin 已提交
80 81 82
              "node_id": "python-5-124",
              "keywords_must": [],
              "keywords_forbid": []
F
feilong 已提交
83 84 85 86 87 88
            }
          },
          {
            "读取所有内容": {
              "keywords": [],
              "children": [],
L
luxin 已提交
89 90 91
              "node_id": "python-5-125",
              "keywords_must": [],
              "keywords_forbid": []
F
feilong 已提交
92 93 94 95 96 97
            }
          },
          {
            "使用fileinput实现延迟行迭代": {
              "keywords": [],
              "children": [],
L
luxin 已提交
98 99 100
              "node_id": "python-5-126",
              "keywords_must": [],
              "keywords_forbid": []
F
feilong 已提交
101 102 103 104 105 106
            }
          },
          {
            "文件迭代器": {
              "keywords": [],
              "children": [],
L
luxin 已提交
107 108 109
              "node_id": "python-5-127",
              "keywords_must": [],
              "keywords_forbid": []
F
feilong 已提交
110 111 112
            }
          }
        ],
L
luxin 已提交
113 114 115
        "node_id": "python-4-190",
        "keywords_must": [],
        "keywords_forbid": []
F
feilong 已提交
116 117 118
      }
    }
  ],
L
luxin 已提交
119 120 121
  "node_id": "python-3-24",
  "keywords_must": [],
  "keywords_forbid": []
F
feilong 已提交
122
}