20221230 evening
This commit is contained in:
parent
428e92486a
commit
767d815e73
|
|
@ -2,7 +2,7 @@
|
|||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"execution_count": 4,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
"0"
|
||||
]
|
||||
},
|
||||
"execution_count": 1,
|
||||
"execution_count": 4,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
"source": [
|
||||
"import os,re,json\n",
|
||||
"\"\"\"这里编辑题号(列表)后将在vscode中打开窗口, 编辑后保存关闭, 随后运行第二个代码块\"\"\"\n",
|
||||
"problems = \"12232,12239\"\n",
|
||||
"problems = \"12237:12239\"\n",
|
||||
"\n",
|
||||
"def generate_number_set(string,dict):\n",
|
||||
" string = re.sub(r\"[\\n\\s]\",\"\",string)\n",
|
||||
|
|
@ -51,7 +51,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 26,
|
||||
"execution_count": 2,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@
|
|||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3.9.15 ('pythontest')",
|
||||
"display_name": "mathdept",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
|
|
@ -162,12 +162,12 @@
|
|||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.9.15"
|
||||
"version": "3.9.15 (main, Nov 24 2022, 14:39:17) [MSC v.1916 64 bit (AMD64)]"
|
||||
},
|
||||
"orig_nbformat": 4,
|
||||
"vscode": {
|
||||
"interpreter": {
|
||||
"hash": "91219a98e0e9be72efb992f647fe78b593124968b75db0b865552d6787c8db93"
|
||||
"hash": "ff3c292c316ba85de6f1ad75f19c731e79d694e741b6f515ec18f14996fe48dc"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 4,
|
||||
"execution_count": 2,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
|
|
@ -10,8 +10,8 @@
|
|||
"output_type": "stream",
|
||||
"text": [
|
||||
"首个空闲id: 12739 , 直至 020000\n",
|
||||
"首个空闲id: 20352 , 直至 030000\n",
|
||||
"首个空闲id: 30506 , 直至 999999\n"
|
||||
"首个空闲id: 20498 , 直至 030000\n",
|
||||
"首个空闲id: 30515 , 直至 999999\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3.8.15 ('mathdept')",
|
||||
"display_name": "mathdept",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
|
|
@ -59,12 +59,12 @@
|
|||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.8.15"
|
||||
"version": "3.9.15"
|
||||
},
|
||||
"orig_nbformat": 4,
|
||||
"vscode": {
|
||||
"interpreter": {
|
||||
"hash": "42dd566da87765ddbe9b5c5b483063747fec4aacc5469ad554706e4b742e67b2"
|
||||
"hash": "ff3c292c316ba85de6f1ad75f19c731e79d694e741b6f515ec18f14996fe48dc"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2,15 +2,15 @@
|
|||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"execution_count": 1,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#修改起始id,出处,文件名\n",
|
||||
"starting_id = 20352\n",
|
||||
"origin = \"2025届高一校本作业必修第三章\"\n",
|
||||
"filename = r\"C:\\Users\\weiye\\Documents\\wwy sync\\临时工作区\\高一第三章.tex\"\n",
|
||||
"editor = \"20221223\\t王伟叶\""
|
||||
"starting_id = 20404\n",
|
||||
"origin = \"2025届高一校本作业必修第四章试题\"\n",
|
||||
"filename = r\"C:\\Users\\weiye\\Documents\\wwy sync\\临时工作区\\高一第四章.tex\"\n",
|
||||
"editor = \"20221230\\t王伟叶\""
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -70,8 +70,8 @@
|
|||
" pid = str(id).zfill(6)\n",
|
||||
" if pid in pro_dict:\n",
|
||||
" duplicate_flag = True\n",
|
||||
" # NewProblem = CreateNewProblem(id = pid, content = p, origin = origin , dict = pro_dict,editor = editor)\n",
|
||||
" NewProblem = CreateNewProblem(id = pid, content = p, origin = origin + \"试题\" + str(id- starting_id+1), dict = pro_dict,editor = editor)\n",
|
||||
" NewProblem = CreateNewProblem(id = pid, content = p, origin = origin , dict = pro_dict,editor = editor)\n",
|
||||
" # NewProblem = CreateNewProblem(id = pid, content = p, origin = origin + \"试题\" + str(id- starting_id+1), dict = pro_dict,editor = editor)\n",
|
||||
" pro_dict[pid] = NewProblem\n",
|
||||
" id += 1\n",
|
||||
"\n",
|
||||
|
|
@ -115,7 +115,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": {
|
||||
|
|
|
|||
|
|
@ -2,65 +2,107 @@
|
|||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 5,
|
||||
"execution_count": 1,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"020352 填空题\n",
|
||||
"020353 填空题\n",
|
||||
"020354 填空题\n",
|
||||
"020355 填空题\n",
|
||||
"020356 填空题\n",
|
||||
"020357 填空题\n",
|
||||
"020358 选择题\n",
|
||||
"020359 选择题\n",
|
||||
"020360 填空题\n",
|
||||
"020361 填空题\n",
|
||||
"020362 解答题\n",
|
||||
"020363 填空题\n",
|
||||
"020364 填空题\n",
|
||||
"020365 选择题\n",
|
||||
"020366 选择题\n",
|
||||
"020367 解答题\n",
|
||||
"020368 填空题\n",
|
||||
"020369 填空题\n",
|
||||
"020370 解答题\n",
|
||||
"020371 解答题\n",
|
||||
"020372 解答题\n",
|
||||
"020373 解答题\n",
|
||||
"020374 解答题\n",
|
||||
"020375 解答题\n",
|
||||
"020376 填空题\n",
|
||||
"020377 选择题\n",
|
||||
"020378 选择题\n",
|
||||
"020379 选择题\n",
|
||||
"020380 解答题\n",
|
||||
"020381 解答题\n",
|
||||
"020382 解答题\n",
|
||||
"020383 解答题\n",
|
||||
"020384 解答题\n",
|
||||
"020385 解答题\n",
|
||||
"020386 选择题\n",
|
||||
"020387 选择题\n",
|
||||
"020388 填空题\n",
|
||||
"020389 填空题\n",
|
||||
"020390 填空题\n",
|
||||
"020391 填空题\n",
|
||||
"020392 解答题\n",
|
||||
"020393 解答题\n",
|
||||
"020394 解答题\n",
|
||||
"020395 填空题\n",
|
||||
"020396 解答题\n",
|
||||
"020397 解答题\n",
|
||||
"020398 填空题\n",
|
||||
"020399 填空题\n",
|
||||
"020400 解答题\n",
|
||||
"020401 解答题\n",
|
||||
"020402 解答题\n",
|
||||
"020403 解答题\n"
|
||||
"020404 填空题\n",
|
||||
"020405 填空题\n",
|
||||
"020406 选择题\n",
|
||||
"020407 选择题\n",
|
||||
"020408 选择题\n",
|
||||
"020409 解答题\n",
|
||||
"020410 解答题\n",
|
||||
"020411 解答题\n",
|
||||
"020412 解答题\n",
|
||||
"020413 填空题\n",
|
||||
"020414 填空题\n",
|
||||
"020415 填空题\n",
|
||||
"020416 填空题\n",
|
||||
"020417 选择题\n",
|
||||
"020418 选择题\n",
|
||||
"020419 选择题\n",
|
||||
"020420 填空题\n",
|
||||
"020421 解答题\n",
|
||||
"020422 解答题\n",
|
||||
"020423 填空题\n",
|
||||
"020424 填空题\n",
|
||||
"020425 解答题\n",
|
||||
"020426 解答题\n",
|
||||
"020427 填空题\n",
|
||||
"020428 填空题\n",
|
||||
"020429 填空题\n",
|
||||
"020430 填空题\n",
|
||||
"020431 填空题\n",
|
||||
"020432 解答题\n",
|
||||
"020433 解答题\n",
|
||||
"020434 解答题\n",
|
||||
"020435 填空题\n",
|
||||
"020436 填空题\n",
|
||||
"020437 填空题\n",
|
||||
"020438 填空题\n",
|
||||
"020439 选择题\n",
|
||||
"020440 选择题\n",
|
||||
"020441 选择题\n",
|
||||
"020442 选择题\n",
|
||||
"020443 解答题\n",
|
||||
"020444 解答题\n",
|
||||
"020445 解答题\n",
|
||||
"020446 填空题\n",
|
||||
"020447 填空题\n",
|
||||
"020448 解答题\n",
|
||||
"020449 解答题\n",
|
||||
"020450 填空题\n",
|
||||
"020451 选择题\n",
|
||||
"020452 填空题\n",
|
||||
"020453 解答题\n",
|
||||
"020454 解答题\n",
|
||||
"020455 解答题\n",
|
||||
"020456 填空题\n",
|
||||
"020457 解答题\n",
|
||||
"020458 解答题\n",
|
||||
"020459 填空题\n",
|
||||
"020460 填空题\n",
|
||||
"020461 填空题\n",
|
||||
"020462 填空题\n",
|
||||
"020463 解答题\n",
|
||||
"020464 填空题\n",
|
||||
"020465 选择题\n",
|
||||
"020466 解答题\n",
|
||||
"020467 填空题\n",
|
||||
"020468 填空题\n",
|
||||
"020469 填空题\n",
|
||||
"020470 解答题\n",
|
||||
"020471 解答题\n",
|
||||
"020472 解答题\n",
|
||||
"020473 解答题\n",
|
||||
"020474 解答题\n",
|
||||
"020475 解答题\n",
|
||||
"020476 选择题\n",
|
||||
"020477 选择题\n",
|
||||
"020478 选择题\n",
|
||||
"020479 填空题\n",
|
||||
"020480 解答题\n",
|
||||
"020481 解答题\n",
|
||||
"020482 填空题\n",
|
||||
"020483 填空题\n",
|
||||
"020484 填空题\n",
|
||||
"020485 填空题\n",
|
||||
"020486 填空题\n",
|
||||
"020487 选择题\n",
|
||||
"020488 解答题\n",
|
||||
"020489 解答题\n",
|
||||
"020490 解答题\n",
|
||||
"020491 解答题\n",
|
||||
"020492 填空题\n",
|
||||
"020493 填空题\n",
|
||||
"020494 填空题\n",
|
||||
"020495 解答题\n",
|
||||
"020496 解答题\n",
|
||||
"020497 解答题\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
|
@ -116,7 +158,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": {
|
||||
|
|
|
|||
|
|
@ -9,9 +9,9 @@
|
|||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"开始编译教师版本pdf文件: 临时文件/金山一模待校对_教师用_20221222.tex\n",
|
||||
"开始编译教师版本pdf文件: 临时文件/提高课_教师用_20221229.tex\n",
|
||||
"0\n",
|
||||
"开始编译学生版本pdf文件: 临时文件/金山一模待校对_学生用_20221222.tex\n",
|
||||
"开始编译学生版本pdf文件: 临时文件/提高课_学生用_20221229.tex\n",
|
||||
"0\n"
|
||||
]
|
||||
}
|
||||
|
|
@ -26,14 +26,14 @@
|
|||
"\"\"\"---设置题目列表---\"\"\"\n",
|
||||
"#留空为编译全题库, a为读取临时文件中的题号筛选.txt文件生成题库\n",
|
||||
"problems = r\"\"\"\n",
|
||||
"a\n",
|
||||
"30506:30514\n",
|
||||
"\n",
|
||||
"\"\"\"\n",
|
||||
"\"\"\"---设置题目列表结束---\"\"\"\n",
|
||||
"\n",
|
||||
"\"\"\"---设置文件名---\"\"\"\n",
|
||||
"#目录和文件的分隔务必用/\n",
|
||||
"filename = \"临时文件/金山一模待校对\"\n",
|
||||
"filename = \"临时文件/提高课\"\n",
|
||||
"\"\"\"---设置文件名结束---\"\"\"\n",
|
||||
"\n",
|
||||
"\n",
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 9,
|
||||
"execution_count": 1,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
|
|
|
|||
1961
题库0.3/Problems.json
1961
题库0.3/Problems.json
File diff suppressed because it is too large
Load Diff
Reference in New Issue