diff --git "a/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/1.Python\347\256\200\344\273\213/helloworld.json" "b/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/1.Python\347\256\200\344\273\213/helloworld.json" index 5ab2ebc503ac94b7ee000d2c027b5f92a6c7f342..3b7622c9a11036a762a4b351d715057367c333ad 100644 --- "a/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/1.Python\347\256\200\344\273\213/helloworld.json" +++ "b/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/1.Python\347\256\200\344\273\213/helloworld.json" @@ -3,5 +3,6 @@ "author": "huanhuilong", "source": "helloworld.md", "depends": [], - "type": "code_options" + "type": "code_options", + "notebook_enable": true } \ No newline at end of file diff --git "a/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/2.\347\250\213\345\272\217\350\256\276\350\256\241\346\200\235\346\203\263/class.json" "b/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/2.\347\250\213\345\272\217\350\256\276\350\256\241\346\200\235\346\203\263/class.json" index 46ded95b13dc92b628fa70cce8753fc0dbeb46ef..988df9021c596941695408785ebfa3615f524d94 100644 --- "a/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/2.\347\250\213\345\272\217\350\256\276\350\256\241\346\200\235\346\203\263/class.json" +++ "b/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/2.\347\250\213\345\272\217\350\256\276\350\256\241\346\200\235\346\203\263/class.json" @@ -1,7 +1,8 @@ { - "author": "huanhuilong", - "source": "class.md", - "depends": [], - "exercise_id": 26, - "type": "code_options" + "author": "huanhuilong", + "source": "class.md", + "depends": [], + "exercise_id": 26, + "type": "code_options", + "notebook_enable": true } \ No newline at end of file diff --git "a/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/2.\347\250\213\345\272\217\350\256\276\350\256\241\346\200\235\346\203\263/function.json" "b/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/2.\347\250\213\345\272\217\350\256\276\350\256\241\346\200\235\346\203\263/function.json" index 1252905e5a2447ae6706cebbffb729acf43a5361..e3c254593cf8cc40cbdb5209f5b100e33789247a 100644 --- "a/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/2.\347\250\213\345\272\217\350\256\276\350\256\241\346\200\235\346\203\263/function.json" +++ "b/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/2.\347\250\213\345\272\217\350\256\276\350\256\241\346\200\235\346\203\263/function.json" @@ -1,7 +1,8 @@ { - "author": "huanhuilong", - "source": "function.md", - "depends": [], - "exercise_id": 28, - "type": "code_options" + "author": "huanhuilong", + "source": "function.md", + "depends": [], + "exercise_id": 28, + "type": "code_options", + "notebook_enable": true } \ No newline at end of file diff --git "a/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/2.\347\250\213\345\272\217\350\256\276\350\256\241\346\200\235\346\203\263/process.json" "b/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/2.\347\250\213\345\272\217\350\256\276\350\256\241\346\200\235\346\203\263/process.json" index 6b85ad0bffb57ec44f6a4920914a27a00d0523e0..deac6d6c56908a58f335827487bf8c3f7ff817e4 100644 --- "a/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/2.\347\250\213\345\272\217\350\256\276\350\256\241\346\200\235\346\203\263/process.json" +++ "b/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/2.\347\250\213\345\272\217\350\256\276\350\256\241\346\200\235\346\203\263/process.json" @@ -1,7 +1,8 @@ { - "author": "huanhuilong", - "source": "process.md", - "depends": [], - "exercise_id": 27, - "type": "code_options" + "author": "huanhuilong", + "source": "process.md", + "depends": [], + "exercise_id": 27, + "type": "code_options", + "notebook_enable": true } \ No newline at end of file diff --git "a/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/3.\345\256\211\350\243\205Python/install.json" "b/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/3.\345\256\211\350\243\205Python/install.json" index bb9200d51eb0769c19d17eba587a383021fd7ce9..9df4d322471b07f5d7b35a5efacc697b8ead69f0 100644 --- "a/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/3.\345\256\211\350\243\205Python/install.json" +++ "b/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/3.\345\256\211\350\243\205Python/install.json" @@ -1,7 +1,8 @@ { - "author": "huanhuilong", - "source": "install.md", - "depends": [], - "exercise_id": 31, - "type": "code_options" + "author": "huanhuilong", + "source": "install.md", + "depends": [], + "exercise_id": 31, + "type": "code_options", + "notebook_enable": true } \ No newline at end of file diff --git "a/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/4.\350\277\220\350\241\214\346\226\271\345\274\217/run.json" "b/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/4.\350\277\220\350\241\214\346\226\271\345\274\217/run.json" index 971bcff98cf3e98c9dcd53f1d065ec6fed2c7dd1..aaadc3533c2dcfec578e9450cb6984c47851b0d2 100644 --- "a/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/4.\350\277\220\350\241\214\346\226\271\345\274\217/run.json" +++ "b/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/4.\350\277\220\350\241\214\346\226\271\345\274\217/run.json" @@ -1,7 +1,8 @@ { - "author": "huanhuilong", - "source": "run.md", - "depends": [], - "exercise_id": 32, - "type": "code_options" + "author": "huanhuilong", + "source": "run.md", + "depends": [], + "exercise_id": 32, + "type": "code_options", + "notebook_enable": true } \ No newline at end of file diff --git "a/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/5.\345\270\270\347\224\250\345\274\200\345\217\221\345\267\245\345\205\267/ide.json" "b/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/5.\345\270\270\347\224\250\345\274\200\345\217\221\345\267\245\345\205\267/ide.json" index 8e3ee60183f4b01db879faa723a5038b62b20054..fa49a41ba538d27466e4bb9e00de3b8cdc39ebfa 100644 --- "a/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/5.\345\270\270\347\224\250\345\274\200\345\217\221\345\267\245\345\205\267/ide.json" +++ "b/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/5.\345\270\270\347\224\250\345\274\200\345\217\221\345\267\245\345\205\267/ide.json" @@ -1,7 +1,8 @@ { - "author": "huanhuilong", - "source": "ide.md", - "depends": [], - "exercise_id": 30, - "type": "code_options" + "author": "huanhuilong", + "source": "ide.md", + "depends": [], + "exercise_id": 30, + "type": "code_options", + "notebook_enable": true } \ No newline at end of file diff --git "a/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/6.\347\274\226\347\240\201\350\247\204\350\214\203/style.json" "b/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/6.\347\274\226\347\240\201\350\247\204\350\214\203/style.json" index 5c9158e1b9d6096fb5d1190634fcca16d2e9622e..c3b06f3633fa4d67b4212d418fc6a2de7f08c0a5 100644 --- "a/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/6.\347\274\226\347\240\201\350\247\204\350\214\203/style.json" +++ "b/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/6.\347\274\226\347\240\201\350\247\204\350\214\203/style.json" @@ -1,7 +1,8 @@ { - "author": "huanhuilong", - "source": "style.md", - "depends": [], - "exercise_id": 29, - "type": "code_options" + "author": "huanhuilong", + "source": "style.md", + "depends": [], + "exercise_id": 29, + "type": "code_options", + "notebook_enable": true } \ No newline at end of file diff --git "a/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/7.\346\250\241\345\235\227\347\256\241\347\220\206/import_lib.json" "b/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/7.\346\250\241\345\235\227\347\256\241\347\220\206/import_lib.json" index c6c2cae165a3e8dcfa278cc8b4566399e0bb7317..68c2633940f32e9174a7a2a056a72c803ec0a18c 100644 --- "a/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/7.\346\250\241\345\235\227\347\256\241\347\220\206/import_lib.json" +++ "b/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/7.\346\250\241\345\235\227\347\256\241\347\220\206/import_lib.json" @@ -1,7 +1,8 @@ { - "author": "huanhuilong", - "source": "import_lib.md", - "depends": [], - "exercise_id": 163, - "type": "code_options" + "author": "huanhuilong", + "source": "import_lib.md", + "depends": [], + "exercise_id": 163, + "type": "code_options", + "notebook_enable": true } \ No newline at end of file diff --git "a/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/7.\346\250\241\345\235\227\347\256\241\347\220\206/import_other_module.json" "b/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/7.\346\250\241\345\235\227\347\256\241\347\220\206/import_other_module.json" index 8e88a095b298167e3156998053f16b9313341562..96ff22b52f8e6c4bb417ffc4cb3409b95e4e8020 100644 --- "a/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/7.\346\250\241\345\235\227\347\256\241\347\220\206/import_other_module.json" +++ "b/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/7.\346\250\241\345\235\227\347\256\241\347\220\206/import_other_module.json" @@ -1,7 +1,8 @@ { - "author": "huanhuilong", - "source": "import_other_module.md", - "depends": [], - "exercise_id": 164, - "type": "code_options" + "author": "huanhuilong", + "source": "import_other_module.md", + "depends": [], + "exercise_id": 164, + "type": "code_options", + "notebook_enable": true } \ No newline at end of file diff --git "a/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/7.\346\250\241\345\235\227\347\256\241\347\220\206/import_relative.json" "b/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/7.\346\250\241\345\235\227\347\256\241\347\220\206/import_relative.json" index feaabd86d017d8a56cc6360fd9cf8378081fbc2d..992274fa95f33eccb2b7614c5ca07753ad452833 100644 --- "a/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/7.\346\250\241\345\235\227\347\256\241\347\220\206/import_relative.json" +++ "b/data/1.python\345\210\235\351\230\266/1.\351\242\204\345\244\207\347\237\245\350\257\206/7.\346\250\241\345\235\227\347\256\241\347\220\206/import_relative.json" @@ -1,7 +1,8 @@ { - "author": "huanhuilong", - "source": "import_relative.md", - "depends": [], - "exercise_id": 165, - "type": "code_options" + "author": "huanhuilong", + "source": "import_relative.md", + "depends": [], + "exercise_id": 165, + "type": "code_options", + "notebook_enable": true } \ No newline at end of file diff --git "a/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/1.\347\274\251\350\277\233\350\247\204\345\210\231/step.json" "b/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/1.\347\274\251\350\277\233\350\247\204\345\210\231/step.json" index 6f96948119356b9cea85b7c44a508efe95e6f945..e3d657199bfc4503fe0afa7fb08aad30b2c28644 100644 --- "a/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/1.\347\274\251\350\277\233\350\247\204\345\210\231/step.json" +++ "b/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/1.\347\274\251\350\277\233\350\247\204\345\210\231/step.json" @@ -1,7 +1,8 @@ { - "author": "huanhuilong", - "source": "step.md", - "depends": [], - "exercise_id": 83, - "type": "code_options" + "author": "huanhuilong", + "source": "step.md", + "depends": [], + "exercise_id": 83, + "type": "code_options", + "notebook_enable": true } \ No newline at end of file diff --git "a/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/3.\345\207\275\346\225\260/call.json" "b/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/3.\345\207\275\346\225\260/call.json" index f1b2890edf095fc03bebb7785bf5b19578a400aa..da3b2d0a172dc6cb1f86d54af528b387292e5f85 100644 --- "a/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/3.\345\207\275\346\225\260/call.json" +++ "b/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/3.\345\207\275\346\225\260/call.json" @@ -1,7 +1,8 @@ { - "author": "huanhuilong", - "source": "call.md", - "depends": [], - "exercise_id": 197, - "type": "code_options" + "author": "huanhuilong", + "source": "call.md", + "depends": [], + "exercise_id": 197, + "type": "code_options", + "notebook_enable": true } \ No newline at end of file diff --git "a/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/3.\345\207\275\346\225\260/fact1.json" "b/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/3.\345\207\275\346\225\260/fact1.json" index 92d0b4969069c3b97b5c5bc48aaa1b9ddea96f60..3c3ed740d90a961060e9eae384e2589f27b435e7 100644 --- "a/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/3.\345\207\275\346\225\260/fact1.json" +++ "b/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/3.\345\207\275\346\225\260/fact1.json" @@ -1,7 +1,8 @@ { - "author": "huanhuilong", - "source": "fact1.md", - "depends": [], - "exercise_id": 190, - "type": "code_options" + "author": "huanhuilong", + "source": "fact1.md", + "depends": [], + "exercise_id": 190, + "type": "code_options", + "notebook_enable": true } \ No newline at end of file diff --git "a/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/3.\345\207\275\346\225\260/fact2.json" "b/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/3.\345\207\275\346\225\260/fact2.json" index 57644d09e509ac2bb3c9095e81ddcebd56952e28..c02102e5d6a889dcac4b82686dcf7b06b1e4c4ed 100644 --- "a/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/3.\345\207\275\346\225\260/fact2.json" +++ "b/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/3.\345\207\275\346\225\260/fact2.json" @@ -1,7 +1,8 @@ { - "author": "huanhuilong", - "source": "fact2.md", - "depends": [], - "exercise_id": 244, - "type": "code_options" + "author": "huanhuilong", + "source": "fact2.md", + "depends": [], + "exercise_id": 244, + "type": "code_options", + "notebook_enable": true } \ No newline at end of file diff --git "a/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/3.\345\207\275\346\225\260/fibonacci1.json" "b/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/3.\345\207\275\346\225\260/fibonacci1.json" index 497f5e7b088c334051ede33505b914e239859753..644128ecb9373ee7729daf2b5494ed19e1f8defb 100644 --- "a/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/3.\345\207\275\346\225\260/fibonacci1.json" +++ "b/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/3.\345\207\275\346\225\260/fibonacci1.json" @@ -1,7 +1,8 @@ { - "author": "huanhuilong", - "source": "fibonacci1.md", - "depends": [], - "exercise_id": 201, - "type": "code_options" + "author": "huanhuilong", + "source": "fibonacci1.md", + "depends": [], + "exercise_id": 201, + "type": "code_options", + "notebook_enable": true } \ No newline at end of file diff --git "a/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/3.\345\207\275\346\225\260/fibonacci2.json" "b/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/3.\345\207\275\346\225\260/fibonacci2.json" index 79692cb9be49d5ba4a14d423ef7283ad5aefb53b..8d83f7fb0d15845557ad8472e684077d034ba544 100644 --- "a/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/3.\345\207\275\346\225\260/fibonacci2.json" +++ "b/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/3.\345\207\275\346\225\260/fibonacci2.json" @@ -1,7 +1,8 @@ { - "author": "huanhuilong", - "source": "fibonacci2.md", - "depends": [], - "exercise_id": 239, - "type": "code_options" + "author": "huanhuilong", + "source": "fibonacci2.md", + "depends": [], + "exercise_id": 239, + "type": "code_options", + "notebook_enable": true } \ No newline at end of file diff --git "a/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/3.\345\207\275\346\225\260/helloworld2.json" "b/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/3.\345\207\275\346\225\260/helloworld2.json" index df054bb64b37cc493b0fb91bb56cee1b23d972ea..9b31dec113d908ab51c706e4d5a300007e188598 100644 --- "a/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/3.\345\207\275\346\225\260/helloworld2.json" +++ "b/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/3.\345\207\275\346\225\260/helloworld2.json" @@ -1,7 +1,8 @@ { - "author": "huanhuilong", - "source": "helloworld2.md", - "depends": [], - "exercise_id": 166, - "type": "code_options" + "author": "huanhuilong", + "source": "helloworld2.md", + "depends": [], + "exercise_id": 166, + "type": "code_options", + "notebook_enable": true } \ No newline at end of file diff --git "a/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/4.\347\261\273/hash_key_value_set.json" "b/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/4.\347\261\273/hash_key_value_set.json" index b48bb65f2c831c1b93207903fa35bf4c2c44f1f5..86ea9cffef8a198325abd0320997e27f5632cf8e 100644 --- "a/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/4.\347\261\273/hash_key_value_set.json" +++ "b/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/4.\347\261\273/hash_key_value_set.json" @@ -1,9 +1,10 @@ { - "author": "huanhuilong", - "source": "hash_key_value_set.py", - "depends": [ - "key_value_set.py" - ], - "exercise_id": 169, - "type": "code_options" + "author": "huanhuilong", + "source": "hash_key_value_set.py", + "depends": [ + "key_value_set.py" + ], + "exercise_id": 169, + "type": "code_options", + "notebook_enable": true } \ No newline at end of file diff --git "a/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/4.\347\261\273/hash_key_value_set_by_compose.json" "b/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/4.\347\261\273/hash_key_value_set_by_compose.json" index 366f829dc78f3c97afa5d3aa15ffa34b41fa9134..70982f637c798c0b1ff70a99d37d0b3dc0bd6bc4 100644 --- "a/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/4.\347\261\273/hash_key_value_set_by_compose.json" +++ "b/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/4.\347\261\273/hash_key_value_set_by_compose.json" @@ -1,9 +1,10 @@ { - "author": "huanhuilong", - "source": "hash_key_value_set_by_compose.py", - "depends": [ - "key_value_set.py" - ], - "exercise_id": 168, - "type": "code_options" + "author": "huanhuilong", + "source": "hash_key_value_set_by_compose.py", + "depends": [ + "key_value_set.py" + ], + "exercise_id": 168, + "type": "code_options", + "notebook_enable": true } \ No newline at end of file diff --git "a/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/4.\347\261\273/key_value_set.json" "b/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/4.\347\261\273/key_value_set.json" index 97b94cb047c8467550f0ec8b149408ec8472504c..edfd3e247f9dea848fc822daccdcf75933ebd535 100644 --- "a/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/4.\347\261\273/key_value_set.json" +++ "b/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/4.\347\261\273/key_value_set.json" @@ -1,7 +1,8 @@ { - "author": "huanhuilong", - "source": "key_value_set.md", - "depends": [], - "exercise_id": 167, - "type": "code_options" + "author": "huanhuilong", + "source": "key_value_set.md", + "depends": [], + "exercise_id": 167, + "type": "code_options", + "notebook_enable": true } \ No newline at end of file diff --git "a/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/5.\351\241\272\345\272\217\350\257\255\345\217\245\347\273\223\346\236\204/calc.json" "b/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/5.\351\241\272\345\272\217\350\257\255\345\217\245\347\273\223\346\236\204/calc.json" index 3dc6db3e5a60900842aa664ea351aaeb381e87c6..ab0f841eac7a58d411b864a2bdfea127ce6199d1 100644 --- "a/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/5.\351\241\272\345\272\217\350\257\255\345\217\245\347\273\223\346\236\204/calc.json" +++ "b/data/1.python\345\210\235\351\230\266/2.\345\237\272\347\241\200\350\257\255\346\263\225/5.\351\241\272\345\272\217\350\257\255\345\217\245\347\273\223\346\236\204/calc.json" @@ -2,5 +2,7 @@ "source": "calc.py", "depends": [], "exercise_id": 76, - "type": "code_options" + "type": "code_options", + "notebook_enable": true, + "author": "feilong" } \ No newline at end of file diff --git "a/data/1.python\345\210\235\351\230\266/3.\350\277\233\351\230\266\350\257\255\346\263\225/1.\345\210\227\350\241\250\346\216\250\345\257\274\345\274\217/iter.json" "b/data/1.python\345\210\235\351\230\266/3.\350\277\233\351\230\266\350\257\255\346\263\225/1.\345\210\227\350\241\250\346\216\250\345\257\274\345\274\217/iter.json" index 5de60bd19fd20c694c540f3131f860627a74df6b..8bbc67b08a6132662a7b4fecc1d6a2991fa8fbaf 100644 --- "a/data/1.python\345\210\235\351\230\266/3.\350\277\233\351\230\266\350\257\255\346\263\225/1.\345\210\227\350\241\250\346\216\250\345\257\274\345\274\217/iter.json" +++ "b/data/1.python\345\210\235\351\230\266/3.\350\277\233\351\230\266\350\257\255\346\263\225/1.\345\210\227\350\241\250\346\216\250\345\257\274\345\274\217/iter.json" @@ -1,7 +1,8 @@ { - "author": "HansBug", - "source": "iter.md", - "depends": [], - "exercise_id": 190, - "type": "code_options" -} + "author": "HansBug", + "source": "iter.md", + "depends": [], + "exercise_id": "4ded2d6929124ddd90f409a72eb073cc", + "type": "code_options", + "notebook_enable": true +} \ No newline at end of file diff --git "a/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/10.\345\212\250\346\200\201\346\270\262\346\237\223\351\241\265\351\235\242\347\210\254\345\217\226/dynamic_page.json" "b/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/10.\345\212\250\346\200\201\346\270\262\346\237\223\351\241\265\351\235\242\347\210\254\345\217\226/dynamic_page.json" index 9426ef9cd9cad2d53cc3574824d471e6fe85ac0a..1146b66131d49a4a3c37d2d4e8a9dad53e4f8c57 100644 --- "a/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/10.\345\212\250\346\200\201\346\270\262\346\237\223\351\241\265\351\235\242\347\210\254\345\217\226/dynamic_page.json" +++ "b/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/10.\345\212\250\346\200\201\346\270\262\346\237\223\351\241\265\351\235\242\347\210\254\345\217\226/dynamic_page.json" @@ -1,6 +1,8 @@ { - "author": "zxm2015", - "source": "dynamic_page.md", - "depends": [], - "type": "code_options" + "author": "zxm2015", + "source": "dynamic_page.md", + "depends": [], + "type": "code_options", + "exercise_id": "d723ad753e0f4367932a9436f8732ec8", + "notebook_enable": true } \ No newline at end of file diff --git "a/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/11.\346\250\241\346\213\237\347\231\273\345\275\225/simulate_login.json" "b/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/11.\346\250\241\346\213\237\347\231\273\345\275\225/simulate_login.json" index 859db924fd5a6d955f00a8a5e45683f4b6ae5e05..767ed2cc97b121d8c6b0a144c5ed0021cf82dbee 100644 --- "a/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/11.\346\250\241\346\213\237\347\231\273\345\275\225/simulate_login.json" +++ "b/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/11.\346\250\241\346\213\237\347\231\273\345\275\225/simulate_login.json" @@ -1,6 +1,8 @@ { - "author": "zxm2015", - "source": "simulate_login.md", - "depends": [], - "type": "code_options" -} + "author": "zxm2015", + "source": "simulate_login.md", + "depends": [], + "type": "code_options", + "exercise_id": "b909e9d8af9c44498ffc0519d7b8be62", + "notebook_enable": true +} \ No newline at end of file diff --git "a/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/6.Selenium/selenium.json" "b/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/6.Selenium/selenium.json" index 564aec3150863232a1282e3f551da7adc5056a6d..324e2da99c7eb998ae20c65a2d3566940eef3717 100644 --- "a/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/6.Selenium/selenium.json" +++ "b/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/6.Selenium/selenium.json" @@ -1,6 +1,8 @@ { - "author": "zxm2015", - "source": "selenium.md", - "depends": [], - "type": "code_options" -} + "author": "zxm2015", + "source": "selenium.md", + "depends": [], + "type": "code_options", + "exercise_id": "fa67f7b6cfb94d4aa5048c0748220313", + "notebook_enable": true +} \ No newline at end of file diff --git "a/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/8.pyspider\346\241\206\346\236\266\347\232\204\344\275\277\347\224\250/pyspider.json" "b/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/8.pyspider\346\241\206\346\236\266\347\232\204\344\275\277\347\224\250/pyspider.json" index 3e7130b96af7de55a74cab179c72f6a2e63c55ce..d3678601cba5bf4639ec242c79a2fe06e8d38b07 100644 --- "a/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/8.pyspider\346\241\206\346\236\266\347\232\204\344\275\277\347\224\250/pyspider.json" +++ "b/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/8.pyspider\346\241\206\346\236\266\347\232\204\344\275\277\347\224\250/pyspider.json" @@ -1,6 +1,8 @@ { - "author": "zxm2015", - "source": "pyspider.md", - "depends": [], - "type": "code_options" -} + "author": "zxm2015", + "source": "pyspider.md", + "depends": [], + "type": "code_options", + "exercise_id": "2a356f5e71174f599bfea527cd062057", + "notebook_enable": true +} \ No newline at end of file diff --git "a/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/9.\351\252\214\350\257\201\347\240\201\345\244\204\347\220\206/verification_code.json" "b/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/9.\351\252\214\350\257\201\347\240\201\345\244\204\347\220\206/verification_code.json" index 9820a530dbe3c248d278ab398265d0dc062ee439..4e059ef85810657808cb6e11bbd5db2eaf680e4c 100644 --- "a/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/9.\351\252\214\350\257\201\347\240\201\345\244\204\347\220\206/verification_code.json" +++ "b/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/9.\351\252\214\350\257\201\347\240\201\345\244\204\347\220\206/verification_code.json" @@ -1,6 +1,8 @@ { - "author": "zxm2015", - "source": "verification_code.md", - "depends": [], - "type": "code_options" -} + "author": "zxm2015", + "source": "verification_code.md", + "depends": [], + "type": "code_options", + "exercise_id": "9ae36338010949038ac029a0396b9d10", + "notebook_enable": true +} \ No newline at end of file diff --git "a/data/3.python\351\253\230\351\230\266/2.\347\273\223\346\236\204\345\214\226\346\225\260\346\215\256\345\210\206\346\236\220\345\267\245\345\205\267Pandas/3.\345\237\272\346\234\254\346\223\215\344\275\234/loc.json" "b/data/3.python\351\253\230\351\230\266/2.\347\273\223\346\236\204\345\214\226\346\225\260\346\215\256\345\210\206\346\236\220\345\267\245\345\205\267Pandas/3.\345\237\272\346\234\254\346\223\215\344\275\234/loc.json" index b2fa28ba6c53c3708463400c45abe23c902033ca..f8dcee8fa95be1b523011cebd1a959c8826568ea 100644 --- "a/data/3.python\351\253\230\351\230\266/2.\347\273\223\346\236\204\345\214\226\346\225\260\346\215\256\345\210\206\346\236\220\345\267\245\345\205\267Pandas/3.\345\237\272\346\234\254\346\223\215\344\275\234/loc.json" +++ "b/data/3.python\351\253\230\351\230\266/2.\347\273\223\346\236\204\345\214\226\346\225\260\346\215\256\345\210\206\346\236\220\345\267\245\345\205\267Pandas/3.\345\237\272\346\234\254\346\223\215\344\275\234/loc.json" @@ -1,7 +1,8 @@ { - "author": "huanhuilong", - "source": "loc.md", - "depends": [], - "exercise_id": 121, - "type": "code_options" + "author": "huanhuilong", + "source": "loc.md", + "depends": [], + "exercise_id": 121, + "type": "code_options", + "notebook_enable": true } \ No newline at end of file diff --git "a/data/3.python\351\253\230\351\230\266/2.\347\273\223\346\236\204\345\214\226\346\225\260\346\215\256\345\210\206\346\236\220\345\267\245\345\205\267Pandas/4.\351\253\230\347\272\247\345\272\224\347\224\250/stat.json" "b/data/3.python\351\253\230\351\230\266/2.\347\273\223\346\236\204\345\214\226\346\225\260\346\215\256\345\210\206\346\236\220\345\267\245\345\205\267Pandas/4.\351\253\230\347\272\247\345\272\224\347\224\250/stat.json" index 237918b7879bef28f8f93b13fe8b5b2aabf6e0b4..8da33411bfab49807eef6fbce56c3afee38b6b56 100644 --- "a/data/3.python\351\253\230\351\230\266/2.\347\273\223\346\236\204\345\214\226\346\225\260\346\215\256\345\210\206\346\236\220\345\267\245\345\205\267Pandas/4.\351\253\230\347\272\247\345\272\224\347\224\250/stat.json" +++ "b/data/3.python\351\253\230\351\230\266/2.\347\273\223\346\236\204\345\214\226\346\225\260\346\215\256\345\210\206\346\236\220\345\267\245\345\205\267Pandas/4.\351\253\230\347\272\247\345\272\224\347\224\250/stat.json" @@ -1,7 +1,8 @@ { - "author": "huanhuilong", - "source": "stat.md", - "depends": [], - "exercise_id": 125, - "type": "code_options" + "author": "huanhuilong", + "source": "stat.md", + "depends": [], + "exercise_id": 125, + "type": "code_options", + "notebook_enable": true } \ No newline at end of file diff --git a/src/tree.py b/src/tree.py index c31754dc0eba95dc1d91584ca7c0e3fc1e36b893..1b85cbf3d51c7567fe55aa9934a91ed9b7e96dc8 100644 --- a/src/tree.py +++ b/src/tree.py @@ -16,9 +16,11 @@ handler.setFormatter(formatter) logger.addHandler(handler) repo = git.Repo(".") + def user_name(): return repo.config_reader().get_value("user", "name") + def load_json(p): with open(p, 'r') as f: return json.loads(f.read()) @@ -100,11 +102,13 @@ class TreeWalker: for index, chapter in enumerate(level_node["children"]): chapter_title = list(chapter.keys())[0] chapter_node = list(chapter.values())[0] - chapter_path = os.path.join(level_path, f"{index + 1}.{chapter_title}") + chapter_path = os.path.join( + level_path, f"{index + 1}.{chapter_title}") self.load_sections(chapter_path, chapter_node) for index, section_node in enumerate(chapter_node["children"]): section_title = list(section_node.keys())[0] - full_path = os.path.join(chapter_path, f"{index + 1}.{section_title}") + full_path = os.path.join( + chapter_path, f"{index + 1}.{section_title}") if os.path.isdir(full_path): self.check_section_keywords(full_path) self.ensure_exercises(full_path) @@ -322,7 +326,8 @@ class TreeWalker: config["export"] = export if flag: - dump_json(os.path.join(section_path, "config.json"), config, True, True) + dump_json(os.path.join(section_path, "config.json"), + config, True, True) for e in config.get("export", []): full_name = os.path.join(section_path, e) @@ -370,6 +375,6 @@ class TreeWalker: def check_section_keywords(self, full_path): config = self.ensure_section_config(full_path) - if not config.get("keywords", []): - self.logger.error(f"节点 [{full_path}] 的关键字为空,请修改配置文件写入关键字") - sys.exit(1) + # if not config.get("keywords", []): + # self.logger.error(f"节点 [{full_path}] 的关键字为空,请修改配置文件写入关键字") + # sys.exit(1)