From 745162f1320c57ee116d53061aeca734b142f0ff Mon Sep 17 00:00:00 2001 From: feilong Date: Mon, 27 Dec 2021 10:54:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=80=E4=B8=AAPython?= =?UTF-8?q?=E8=BF=9B=E9=98=B6=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../config.json" | 8 +++++ .../1.Python\351\227\256\347\255\224/qa.json" | 7 ++++ .../1.Python\351\227\256\347\255\224/qa.md" | 33 +++++++++++++++++++ .../config.json" | 4 +++ data/tree.json | 15 +++++++++ main.py | 8 ++--- 6 files changed, 71 insertions(+), 4 deletions(-) create mode 100644 "data/3.python\351\253\230\351\230\266/8.\350\277\233\351\230\266\344\273\273\345\212\241/1.Python\351\227\256\347\255\224/config.json" create mode 100644 "data/3.python\351\253\230\351\230\266/8.\350\277\233\351\230\266\344\273\273\345\212\241/1.Python\351\227\256\347\255\224/qa.json" create mode 100644 "data/3.python\351\253\230\351\230\266/8.\350\277\233\351\230\266\344\273\273\345\212\241/1.Python\351\227\256\347\255\224/qa.md" create mode 100644 "data/3.python\351\253\230\351\230\266/8.\350\277\233\351\230\266\344\273\273\345\212\241/config.json" diff --git "a/data/3.python\351\253\230\351\230\266/8.\350\277\233\351\230\266\344\273\273\345\212\241/1.Python\351\227\256\347\255\224/config.json" "b/data/3.python\351\253\230\351\230\266/8.\350\277\233\351\230\266\344\273\273\345\212\241/1.Python\351\227\256\347\255\224/config.json" new file mode 100644 index 0000000..feff932 --- /dev/null +++ "b/data/3.python\351\253\230\351\230\266/8.\350\277\233\351\230\266\344\273\273\345\212\241/1.Python\351\227\256\347\255\224/config.json" @@ -0,0 +1,8 @@ +{ + "node_id": "python-c8031e38af1147bfb288090085621a94", + "keywords": [], + "children": [], + "export": [ + "qa.json" + ] +} \ No newline at end of file diff --git "a/data/3.python\351\253\230\351\230\266/8.\350\277\233\351\230\266\344\273\273\345\212\241/1.Python\351\227\256\347\255\224/qa.json" "b/data/3.python\351\253\230\351\230\266/8.\350\277\233\351\230\266\344\273\273\345\212\241/1.Python\351\227\256\347\255\224/qa.json" new file mode 100644 index 0000000..48a53fe --- /dev/null +++ "b/data/3.python\351\253\230\351\230\266/8.\350\277\233\351\230\266\344\273\273\345\212\241/1.Python\351\227\256\347\255\224/qa.json" @@ -0,0 +1,7 @@ +{ + "author": "huanhuilong", + "source": "qa.md", + "depends": [], + "type": "task_qa", + "notebook_enable": false +} \ No newline at end of file diff --git "a/data/3.python\351\253\230\351\230\266/8.\350\277\233\351\230\266\344\273\273\345\212\241/1.Python\351\227\256\347\255\224/qa.md" "b/data/3.python\351\253\230\351\230\266/8.\350\277\233\351\230\266\344\273\273\345\212\241/1.Python\351\227\256\347\255\224/qa.md" new file mode 100644 index 0000000..6964df7 --- /dev/null +++ "b/data/3.python\351\253\230\351\230\266/8.\350\277\233\351\230\266\344\273\273\345\212\241/1.Python\351\227\256\347\255\224/qa.md" @@ -0,0 +1,33 @@ +# 完成5个Python问答回答任务 + +Python 用户每天会产生很多实际使用的问题,请你回答5个Python用户的实时:[Python问题](https://ask.csdn.net/channel/2/tag/8),以下对问答描述正确的是? + +## 答案 + +```bash +问答的问题详情页是:https://ask.csdn.net/questions/{id} +Python问答页面是:https://ask.csdn.net/channel/2/tag/8 +``` + +## 选项 + +### A + +```bash +问答的问题详情页的问题描述下含有“已解决”+“未解决”功能 +问答的问题详情页的问题回答下含有“好问题”+“提建议”功能 +``` + +### B + +```bash +问答的问题详情页右侧含有“问题事件”流 +问答的问题详情页右侧可以打赏提问者 +``` + +### C + +```bash +问答的问题详情页可以关注问题 +问答的问题详情页回答不能被打赏 +``` diff --git "a/data/3.python\351\253\230\351\230\266/8.\350\277\233\351\230\266\344\273\273\345\212\241/config.json" "b/data/3.python\351\253\230\351\230\266/8.\350\277\233\351\230\266\344\273\273\345\212\241/config.json" new file mode 100644 index 0000000..4cf781c --- /dev/null +++ "b/data/3.python\351\253\230\351\230\266/8.\350\277\233\351\230\266\344\273\273\345\212\241/config.json" @@ -0,0 +1,4 @@ +{ + "node_id": "python-1707b1947cba42d99043449208ce4a03", + "keywords": [] +} \ No newline at end of file diff --git a/data/tree.json b/data/tree.json index 6543955..b8f2fda 100644 --- a/data/tree.json +++ b/data/tree.json @@ -10532,6 +10532,21 @@ } ] } + }, + { + "进阶任务": { + "node_id": "python-1707b1947cba42d99043449208ce4a03", + "keywords": [], + "children": [ + { + "Python问答": { + "node_id": "python-c8031e38af1147bfb288090085621a94", + "keywords": [], + "children": [] + } + } + ] + } } ] } diff --git a/main.py b/main.py index 93af896..ea14d46 100644 --- a/main.py +++ b/main.py @@ -6,8 +6,8 @@ import os import re if __name__ == '__main__': - # walker = TreeWalker("data", "python", "python") - # walker.walk() + walker = TreeWalker("data", "python", "python") + walker.walk() - md = MDWalker('data/2.python中阶/2.Web应用开发') - md.walk() + # md = MDWalker('data/2.python中阶/2.Web应用开发') + # md.walk() -- GitLab