This commit is contained in:
512song committed 2025-11-27 05:11:14 +08:00
1 parent d41474d9f1
commit 6b9a308feb
1 file changed
+22 -22
+22 -22
View File
@@ -3584,15 +3584,15 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 2, "execution_count": 6,
"id": "52de3ba0-f430-444b-87e9-1f13c3e2dcc2", "id": "52de3ba0-f430-444b-87e9-1f13c3e2dcc2",
"metadata": { "metadata": {
"execution": { "execution": {
"iopub.execute_input": "2025-11-25T09:12:56.872603Z", "iopub.execute_input": "2025-11-26T12:46:47.103732Z",
"iopub.status.busy": "2025-11-25T09:12:56.871910Z", "iopub.status.busy": "2025-11-26T12:46:47.102890Z",
"iopub.status.idle": "2025-11-25T09:12:57.023721Z", "iopub.status.idle": "2025-11-26T12:46:47.347739Z",
"shell.execute_reply": "2025-11-25T09:12:57.023114Z", "shell.execute_reply": "2025-11-26T12:46:47.347143Z",
"shell.execute_reply.started": "2025-11-25T09:12:56.872536Z" "shell.execute_reply.started": "2025-11-26T12:46:47.103689Z"
} }
}, },
"outputs": [ "outputs": [
@@ -3600,7 +3600,7 @@
"name": "stdout", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"2646\n" "3085\n"
] ]
} }
], ],
@@ -3614,7 +3614,7 @@
"filename = 'data/天津石化人员2025.json'\n", "filename = 'data/天津石化人员2025.json'\n",
"with open(filename,'r') as fl:\n", "with open(filename,'r') as fl:\n",
" dict1 = json.load(fl) \n", " dict1 = json.load(fl) \n",
"filename = 'data/marks_20251125.csv'\n", "filename = 'data/marks_20251126.csv'\n",
"re_ta = My.get_result(filename,dict1)\n", "re_ta = My.get_result(filename,dict1)\n",
"\n", "\n",
"\n", "\n",
@@ -3686,15 +3686,15 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 4, "execution_count": 7,
"id": "fcb3c816-5260-4807-9536-b8203680ed1c", "id": "fcb3c816-5260-4807-9536-b8203680ed1c",
"metadata": { "metadata": {
"execution": { "execution": {
"iopub.execute_input": "2025-11-25T09:13:27.357951Z", "iopub.execute_input": "2025-11-26T12:46:57.881794Z",
"iopub.status.busy": "2025-11-25T09:13:27.357275Z", "iopub.status.busy": "2025-11-26T12:46:57.881481Z",
"iopub.status.idle": "2025-11-25T09:13:27.620960Z", "iopub.status.idle": "2025-11-26T12:46:57.922877Z",
"shell.execute_reply": "2025-11-25T09:13:27.620410Z", "shell.execute_reply": "2025-11-26T12:46:57.922323Z",
"shell.execute_reply.started": "2025-11-25T09:13:27.357888Z" "shell.execute_reply.started": "2025-11-26T12:46:57.881771Z"
} }
}, },
"outputs": [], "outputs": [],
@@ -3733,7 +3733,7 @@
" list2 = [k,v['人数'],v['体测人数']]\n", " list2 = [k,v['人数'],v['体测人数']]\n",
" list1.append(list2)\n", " list1.append(list2)\n",
"\n", "\n",
"filename = 'data/天津石化部门测试情况(截至20241125).xlsx'\n", "filename = 'data/天津石化部门测试情况(截至20241126).xlsx'\n",
"wb = openpyxl.Workbook()\n", "wb = openpyxl.Workbook()\n",
"sheet = wb.active\n", "sheet = wb.active\n",
"sheet.append(title)\n", "sheet.append(title)\n",
@@ -3753,15 +3753,15 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 5, "execution_count": 8,
"id": "df8b9405-a2d9-413d-bcf4-205704b0243a", "id": "df8b9405-a2d9-413d-bcf4-205704b0243a",
"metadata": { "metadata": {
"execution": { "execution": {
"iopub.execute_input": "2025-11-25T09:13:35.113929Z", "iopub.execute_input": "2025-11-26T12:47:05.652854Z",
"iopub.status.busy": "2025-11-25T09:13:35.113224Z", "iopub.status.busy": "2025-11-26T12:47:05.652259Z",
"iopub.status.idle": "2025-11-25T09:13:35.286136Z", "iopub.status.idle": "2025-11-26T12:47:05.810426Z",
"shell.execute_reply": "2025-11-25T09:13:35.285593Z", "shell.execute_reply": "2025-11-26T12:47:05.809906Z",
"shell.execute_reply.started": "2025-11-25T09:13:35.113867Z" "shell.execute_reply.started": "2025-11-26T12:47:05.652799Z"
} }
}, },
"outputs": [], "outputs": [],
@@ -3786,7 +3786,7 @@
" i+=1\n", " i+=1\n",
" list1.append(list2)\n", " list1.append(list2)\n",
"#print(list1)\n", "#print(list1)\n",
"filename = f'data/天津石化未测试人员名单(截至20251125).xlsx'\n", "filename = f'data/天津石化未测试人员名单(截至20251126).xlsx'\n",
"title = ['序号','员工编号','姓名','部门']\n", "title = ['序号','员工编号','姓名','部门']\n",
"wb = openpyxl.Workbook()\n", "wb = openpyxl.Workbook()\n",
"sheet = wb.active\n", "sheet = wb.active\n",