From d27480a6c5a8482f4a21a0508ff58d37a00e8f29 Mon Sep 17 00:00:00 2001 From: "weiye.wang" Date: Mon, 5 Jun 2023 21:40:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A321699=E7=AD=94=E6=A1=88?= =?UTF-8?q?=E7=9A=84=E4=B8=80=E5=A4=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 工具/修改题目数据库.py | 2 +- 工具/题号选题pdf生成.py | 4 ++-- 题库0.3/Problems.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/工具/修改题目数据库.py b/工具/修改题目数据库.py index 07fc122a..7fc4df4e 100644 --- a/工具/修改题目数据库.py +++ b/工具/修改题目数据库.py @@ -1,6 +1,6 @@ import os,re,json """这里编辑题号(列表)后将在vscode中打开窗口, 编辑后保存关闭, 随后运行第二个代码块""" -problems = "17433" +problems = "21699" def generate_number_set(string,dict): string = re.sub(r"[\n\s]","",string) diff --git a/工具/题号选题pdf生成.py b/工具/题号选题pdf生成.py index 348f755a..60e3a092 100644 --- a/工具/题号选题pdf生成.py +++ b/工具/题号选题pdf生成.py @@ -7,13 +7,13 @@ import os,re,time,json,sys """---设置题目列表---""" #留空为编译全题库, a为读取文本文件中的题号筛选.txt文件生成题库 problems = r""" -a + """ """---设置题目列表结束---""" """---设置文件名---""" #目录和文件的分隔务必用/ -filename = "临时文件/临时" +filename = "临时文件/题库" """---设置文件名结束---""" """---设置是否需要解答题的空格---""" diff --git a/题库0.3/Problems.json b/题库0.3/Problems.json index 3f0dda96..2a7e9a2d 100644 --- a/题库0.3/Problems.json +++ b/题库0.3/Problems.json @@ -496380,7 +496380,7 @@ "objs": [], "tags": [], "genre": "填空题", - "ans": "纵;伸长; $3$}", + "ans": "纵; 伸长; $3$", "solution": "", "duration": -1, "usages": [