20230214 afternoon

This commit is contained in:
WangWeiye 2023-02-14 15:58:42 +08:00
parent 3a409caf6b
commit 088cf2efcc
12 changed files with 95 additions and 45 deletions

View File

@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 2,
"metadata": {},
"outputs": [
{
@ -11,7 +11,7 @@
"0"
]
},
"execution_count": 3,
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
@ -19,7 +19,7 @@
"source": [
"import os,re,json\n",
"\"\"\"这里编辑题号(列表)后将在vscode中打开窗口, 编辑后保存关闭, 随后运行第二个代码块\"\"\"\n",
"problems = \"31206:31212\"\n",
"problems = \"4072\"\n",
"\n",
"def generate_number_set(string,dict):\n",
" string = re.sub(r\"[\\n\\s]\",\"\",string)\n",

View File

@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 2,
"metadata": {},
"outputs": [
{
@ -11,7 +11,7 @@
"0"
]
},
"execution_count": 1,
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
@ -21,7 +21,7 @@
"\n",
"\"\"\"---设置关键字, 同一field下不同选项为or关系, 同一字典中不同字段间为and关系, 不同字典间为or关系, _not表示列表中的关键字都不含, 同一字典中的数字用来供应同一字段不同的条件之间的and---\"\"\"\n",
"keywords_dict_table = [\n",
" {\"content\":[\"菱形\"],\"origin\":[\"空中课堂\"]}\n",
" {\"origin\":[\"百分百\"],\"tags\":[\"第一单元\"]}\n",
"]\n",
"\"\"\"---关键字设置完毕---\"\"\"\n",
"# 示例: keywords_dict_table = [\n",
@ -96,7 +96,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "mathdept",
"display_name": "pythontest",
"language": "python",
"name": "python3"
},
@ -115,7 +115,7 @@
"orig_nbformat": 4,
"vscode": {
"interpreter": {
"hash": "ff3c292c316ba85de6f1ad75f19c731e79d694e741b6f515ec18f14996fe48dc"
"hash": "91219a98e0e9be72efb992f647fe78b593124968b75db0b865552d6787c8db93"
}
}
},

View File

@ -2,16 +2,16 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 2,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"首个空闲id: 14400 , 直至 020000\n",
"首个空闲id: 14511 , 直至 020000\n",
"首个空闲id: 22048 , 直至 030000\n",
"首个空闲id: 31225 , 直至 999999\n"
"首个空闲id: 31227 , 直至 999999\n"
]
}
],
@ -45,7 +45,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "mathdept",
"display_name": "pythontest",
"language": "python",
"name": "python3"
},
@ -64,7 +64,7 @@
"orig_nbformat": 4,
"vscode": {
"interpreter": {
"hash": "ff3c292c316ba85de6f1ad75f19c731e79d694e741b6f515ec18f14996fe48dc"
"hash": "91219a98e0e9be72efb992f647fe78b593124968b75db0b865552d6787c8db93"
}
}
},

View File

@ -2,15 +2,15 @@
"cells": [
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"首行题目数量: 172\n",
"剩余题目数量: 172\n"
"首行题目数量: 82\n",
"剩余题目数量: 78\n"
]
}
],
@ -29,6 +29,7 @@
"mainpath + \"上学期测验卷/\",\n",
"mainpath + \"上学期周末卷/\",\n",
"mainpath + \"赋能/\",\n",
"mainpath + \"寒假作业/\"\n",
"# mainpath + \"简单题/\",\n",
"]\n",
"\"\"\"---路径设置完毕---\"\"\"\n",

View File

@ -1 +1 @@
13056:13078,13079:13101,13102:13124,13125:13146,13961:13976,13977:13991,13992:14004,14005:14015,14016:14022,14361:14378,14456:14476,14477:14494,14495:14510
3714,3716,3741,3797,3810,3833,3897,3948,3963,13292,13320,13416,13419,13470,13510,13559,13629,13683,

View File

@ -60,7 +60,7 @@ A.~#1 &B.~#2& C.~#3& D.~#4
\begin{document}
\begin{center}
% {\bf\large 高三上学期\papername}
% {\bf\large \papername}
{\bf\large \papername}
\end{center}

View File

@ -9,8 +9,8 @@
"import os,re,json,time\n",
"\n",
"\"\"\"---设置原题目id与新题目id列表, 新id的数目不能小于旧id的数目---\"\"\"\n",
"old_ids = \"1:3\"\n",
"new_ids = \"40001:40003\"\n",
"old_ids = \"12817,13709\"\n",
"new_ids = \"31225:31226\"\n",
"\"\"\"---设置完毕---\"\"\"\n",
"\"\"\"---完成编辑后记得运行第二个单元格---\"\"\"\n",
"\n",
@ -106,7 +106,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "mathdept",
"display_name": "pythontest",
"language": "python",
"name": "python3"
},
@ -125,7 +125,7 @@
"orig_nbformat": 4,
"vscode": {
"interpreter": {
"hash": "ff3c292c316ba85de6f1ad75f19c731e79d694e741b6f515ec18f14996fe48dc"
"hash": "91219a98e0e9be72efb992f647fe78b593124968b75db0b865552d6787c8db93"
}
}
},

View File

@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 3,
"metadata": {},
"outputs": [
{
@ -11,11 +11,9 @@
"text": [
"正在处理题块 1 .\n",
"题块 1 处理完毕.\n",
"正在处理题块 2 .\n",
"题块 2 处理完毕.\n",
"开始编译教师版本pdf文件: 临时文件/00_平面向量与复数_教师_20230213.tex\n",
"开始编译教师版本pdf文件: 临时文件/第一单元_教师_20230214.tex\n",
"0\n",
"开始编译学生版本pdf文件: 临时文件/00_平面向量与复数_学生_20230213.tex\n",
"开始编译学生版本pdf文件: 临时文件/第一单元_学生_20230214.tex\n",
"0\n"
]
}
@ -28,13 +26,12 @@
"\"\"\"2: 测验卷与周末卷(填空题, 选择题, 解答题)\"\"\"\n",
"\"\"\"3: 日常选题讲义(一个section)\"\"\"\n",
"\n",
"paper_type = 1 # 随后设置一下后续的讲义标题\n",
"paper_type = 3 # 随后设置一下后续的讲义标题\n",
"\n",
"\"\"\"---设置题块编号---\"\"\"\n",
"\n",
"problems = [\n",
"\"014380,014381,014382,014383,013149,013150,013151,013161,013163,014339,013903,013890,014386,013899,013216\",\"014392,014393,014394,013209,014388,013160,013165,013199,013198,013892,013889,013916,014330,014331,013205\"\n",
"\n",
"\"3714,3716,3741,3797,3810,3833,3897,3948,3963,13292,13320,13416,13419,13470,13510,13559,13629,13683\"\n",
"]\n",
"\n",
"\"\"\"---设置结束---\"\"\"\n",
@ -48,12 +45,12 @@
"elif paper_type == 2:\n",
" enumi_mode = 1 #设置模式(1为整卷统一编号, 0为每一部分从1开始编号)\n",
" template_file = \"模板文件/测验周末卷模板.txt\" #设置模板文件名\n",
" exec_list = [(\"标题替换\",\"寒假作业反馈练习\")] #设置讲义标题\n",
" exec_list = [(\"标题替换\",\"高三下学期测验01\")] #设置讲义标题\n",
" destination_file = \"临时文件/\"+exec_list[0][1] # 设置输出文件名\n",
"elif paper_type == 3:\n",
" enumi_mode = 0 #设置模式(1为整卷统一编号, 0为每一部分从1开始编号)\n",
" template_file = \"模板文件/日常选题讲义模板.txt\" #设置模板文件名\n",
" exec_list = [(\"标题文字待处理\",\"直线及其方程\")] #设置讲义标题\n",
" exec_list = [(\"标题文字待处理\",\"第一单元\")] #设置讲义标题\n",
" destination_file = \"临时文件/\"+exec_list[0][1] # 设置输出文件名\n",
" \n",
"\n",
@ -203,7 +200,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "mathdept",
"display_name": "pythontest",
"language": "python",
"name": "python3"
},
@ -222,7 +219,7 @@
"orig_nbformat": 4,
"vscode": {
"interpreter": {
"hash": "ff3c292c316ba85de6f1ad75f19c731e79d694e741b6f515ec18f14996fe48dc"
"hash": "91219a98e0e9be72efb992f647fe78b593124968b75db0b865552d6787c8db93"
}
}
},

View File

@ -2,16 +2,16 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 3,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"开始编译教师版本pdf文件: 临时文件/题库_教师用_20230214.tex\n",
"开始编译教师版本pdf文件: 临时文件/提高课第一单元题库_教师用_20230214.tex\n",
"0\n",
"开始编译学生版本pdf文件: 临时文件/题库_学生用_20230214.tex\n",
"开始编译学生版本pdf文件: 临时文件/提高课第一单元题库_学生用_20230214.tex\n",
"0\n"
]
}
@ -26,14 +26,14 @@
"\"\"\"---设置题目列表---\"\"\"\n",
"#留空为编译全题库, a为读取临时文件中的题号筛选.txt文件生成题库\n",
"problems = r\"\"\"\n",
"\n",
"a\n",
"\n",
"\"\"\"\n",
"\"\"\"---设置题目列表结束---\"\"\"\n",
"\n",
"\"\"\"---设置文件名---\"\"\"\n",
"#目录和文件的分隔务必用/\n",
"filename = \"临时文件/题库\"\n",
"filename = \"临时文件/提高课第一单元题库\"\n",
"\"\"\"---设置文件名结束---\"\"\"\n",
"\n",
"\n",

View File

@ -49,7 +49,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "mathdept",
"display_name": "pythontest",
"language": "python",
"name": "python3"
},
@ -68,7 +68,7 @@
"orig_nbformat": 4,
"vscode": {
"interpreter": {
"hash": "ff3c292c316ba85de6f1ad75f19c731e79d694e741b6f515ec18f14996fe48dc"
"hash": "91219a98e0e9be72efb992f647fe78b593124968b75db0b865552d6787c8db93"
}
}
},

View File

@ -398,7 +398,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.15 (main, Nov 24 2022, 14:39:17) [MSC v.1916 64 bit (AMD64)]"
"version": "3.9.15"
},
"orig_nbformat": 4,
"vscode": {

View File

@ -108872,7 +108872,7 @@
},
"004072": {
"id": "004072",
"content": "已知$z=x+y\\mathrm{i}$, $x,y\\in \\mathrm{R}$, $\\mathrm{i}$是虚数单位.若复数$\\dfrac z{1+\\mathrm{i}}+\\mathrm{i}$是实数, 则$|z|$的最小值为\\bracket{20}.\n\\fourch{$0$}{$\\dfrac 52$}{5}{$\\sqrt 2$}",
"content": "已知$z=x+y\\mathrm{i}$, $x,y\\in \\mathbf{R}$, $\\mathrm{i}$是虚数单位.若复数$\\dfrac z{1+\\mathrm{i}}+\\mathrm{i}$是实数, 则$|z|$的最小值为\\bracket{20}.\n\\fourch{$0$}{$\\dfrac 52$}{5}{$\\sqrt 2$}",
"objs": [],
"tags": [
"第五单元"
@ -316502,7 +316502,9 @@
"20230118\t王伟叶"
],
"same": [],
"related": [],
"related": [
"031225"
],
"remark": "",
"space": ""
},
@ -335254,7 +335256,9 @@
"20230128\t王伟叶"
],
"same": [],
"related": [],
"related": [
"031226"
],
"remark": "",
"space": ""
},
@ -427274,5 +427278,53 @@
],
"remark": "",
"space": "12ex"
},
"031225": {
"id": "031225",
"content": "设常数$a, b \\in \\mathbf{R}$. 若不等式组$\\begin{cases}x<a, \\\\ x>b\\end{cases}$的解集与$\\mathbf{Z}$的交集为$\\{1,2,3\\}$, 则$a, b$满足的条件为\\blank{50}.",
"objs": [],
"tags": [
"第一单元"
],
"genre": "填空题",
"ans": "",
"solution": "",
"duration": -1,
"usages": [],
"origin": "2022届高三第二轮复习讲义-20230214修改",
"edit": [
"20230118\t王伟叶",
"20230214\t王伟叶"
],
"same": [],
"related": [
"012817"
],
"remark": "",
"space": ""
},
"031226": {
"id": "031226",
"content": "已知集合$P=\\{x \\| x-a |<3\\}$, $Q=\\{x | x^2-4 x+3<0\\}$, 且``$x \\in P$''是``$x \\in Q$''的必要非充分条件, 则实数$a$的取值范围是\\blank{50}.",
"objs": [],
"tags": [
"第一单元"
],
"genre": "填空题",
"ans": "",
"solution": "",
"duration": -1,
"usages": [],
"origin": "2020年空中课堂高三复习课01-20230214修改",
"edit": [
"20230128\t王伟叶",
"20230214\t王伟叶"
],
"same": [],
"related": [
"013709"
],
"remark": "",
"space": ""
}
}