20250619
This commit is contained in:
1 parent
0914ff206a
commit
926edeed0a
2 files changed
+36
-46
No files matched your search
+33
-27
@@ -10,15 +10,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"execution_count": 9,
|
||||
"id": "bbba6efc-73cd-4db6-bae7-014724fee731",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2025-06-18T01:38:09.178999Z",
|
||||
"iopub.status.busy": "2025-06-18T01:38:09.178385Z",
|
||||
"iopub.status.idle": "2025-06-18T01:38:09.588567Z",
|
||||
"shell.execute_reply": "2025-06-18T01:38:09.588050Z",
|
||||
"shell.execute_reply.started": "2025-06-18T01:38:09.178942Z"
|
||||
"iopub.execute_input": "2025-06-19T04:09:25.167271Z",
|
||||
"iopub.status.busy": "2025-06-19T04:09:25.166662Z",
|
||||
"iopub.status.idle": "2025-06-19T04:09:25.402923Z",
|
||||
"shell.execute_reply": "2025-06-19T04:09:25.402331Z",
|
||||
"shell.execute_reply.started": "2025-06-19T04:09:25.167211Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
@@ -47,8 +47,14 @@
|
||||
" dict1 = {}\n",
|
||||
" dict1['name'] = sheet.cell(n, 3).value\n",
|
||||
" dict1['sex'] = sheet.cell(n, 4).value\n",
|
||||
" dict1['unit'] = sheet.cell(n, 9).value\n",
|
||||
" unit = sheet.cell(n, 9).value\n",
|
||||
" \n",
|
||||
" dict1['sub_unit'] = sheet.cell(n, 6).value\n",
|
||||
" if unit == '管理部门':\n",
|
||||
" dict1['unit'] = sheet.cell(n, 6).value\n",
|
||||
" else:\n",
|
||||
" dict1['unit'] = sheet.cell(n, 9).value\n",
|
||||
" \n",
|
||||
" dict1['birth'] = sheet.cell(n,5).value\n",
|
||||
" person[code] = dict1\n",
|
||||
"filename = 'data/宁夏能化人员.json'\n",
|
||||
@@ -105,15 +111,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 5,
|
||||
"execution_count": 10,
|
||||
"id": "970e171e-1360-448f-a28c-520ccb8f314a",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2025-06-18T01:40:54.605859Z",
|
||||
"iopub.status.busy": "2025-06-18T01:40:54.605169Z",
|
||||
"iopub.status.idle": "2025-06-18T01:40:54.711625Z",
|
||||
"shell.execute_reply": "2025-06-18T01:40:54.711049Z",
|
||||
"shell.execute_reply.started": "2025-06-18T01:40:54.605797Z"
|
||||
"iopub.execute_input": "2025-06-19T04:10:33.526593Z",
|
||||
"iopub.status.busy": "2025-06-19T04:10:33.525876Z",
|
||||
"iopub.status.idle": "2025-06-19T04:10:33.640312Z",
|
||||
"shell.execute_reply": "2025-06-19T04:10:33.639700Z",
|
||||
"shell.execute_reply.started": "2025-06-19T04:10:33.526529Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
@@ -136,7 +142,7 @@
|
||||
"filename = 'data/宁夏能化人员.json'\n",
|
||||
"with open(filename,'r') as fl:\n",
|
||||
" dict1 = json.load(fl) \n",
|
||||
"filename = 'data/marks_20250618.csv'\n",
|
||||
"filename = 'data/marks_20250619.csv'\n",
|
||||
"re_ta = My.get_result(filename,dict1)\n",
|
||||
"\n",
|
||||
"\n",
|
||||
@@ -156,15 +162,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 6,
|
||||
"execution_count": 11,
|
||||
"id": "0905ad6a-f7e4-43ed-ae29-c4850deb946b",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2025-06-18T01:41:01.815005Z",
|
||||
"iopub.status.busy": "2025-06-18T01:41:01.814285Z",
|
||||
"iopub.status.idle": "2025-06-18T01:41:01.908319Z",
|
||||
"shell.execute_reply": "2025-06-18T01:41:01.907777Z",
|
||||
"shell.execute_reply.started": "2025-06-18T01:41:01.814939Z"
|
||||
"iopub.execute_input": "2025-06-19T04:10:36.891162Z",
|
||||
"iopub.status.busy": "2025-06-19T04:10:36.890453Z",
|
||||
"iopub.status.idle": "2025-06-19T04:10:36.986179Z",
|
||||
"shell.execute_reply": "2025-06-19T04:10:36.985655Z",
|
||||
"shell.execute_reply.started": "2025-06-19T04:10:36.891096Z"
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
@@ -476,15 +482,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 8,
|
||||
"execution_count": 14,
|
||||
"id": "23ffd115-72a3-4f90-9e64-ffa6420df8a4",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2025-06-18T01:49:13.699255Z",
|
||||
"iopub.status.busy": "2025-06-18T01:49:13.698689Z",
|
||||
"iopub.status.idle": "2025-06-18T02:04:11.786609Z",
|
||||
"shell.execute_reply": "2025-06-18T02:04:11.785557Z",
|
||||
"shell.execute_reply.started": "2025-06-18T01:49:13.699200Z"
|
||||
"iopub.execute_input": "2025-06-19T04:34:04.657964Z",
|
||||
"iopub.status.busy": "2025-06-19T04:34:04.657683Z",
|
||||
"iopub.status.idle": "2025-06-19T04:48:50.472054Z",
|
||||
"shell.execute_reply": "2025-06-19T04:48:50.471179Z",
|
||||
"shell.execute_reply.started": "2025-06-19T04:34:04.657939Z"
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
@@ -519,7 +525,7 @@
|
||||
" \n",
|
||||
" id = str(k).rjust(4,\"0\")\n",
|
||||
" mydata['path'] = file_path+id+'-'+ v['name']+'.pdf'\n",
|
||||
" mydata['title'] = '中国石化长城能源化工(宁夏)有限公司'\n",
|
||||
" mydata['title'] = '中石化宁夏能化公司'\n",
|
||||
" mydata['subtitle'] = v['unit']\n",
|
||||
" mydata['id'] = id\n",
|
||||
" mydata['name'] = v['name']\n",
|
||||
|
||||
Reference in new issue
Block a user