20221103
This commit is contained in:
1 parent
5eb7a1513d
commit
1dbe7f15bf
2 files changed
+67
-29
No files matched your search
+20
-20
@@ -10,15 +10,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"execution_count": 6,
|
||||
"id": "a27e986c-0c40-4792-b24d-03b19df707a9",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2022-10-31T13:50:14.056581Z",
|
||||
"iopub.status.busy": "2022-10-31T13:50:14.055983Z",
|
||||
"iopub.status.idle": "2022-10-31T13:50:15.632245Z",
|
||||
"shell.execute_reply": "2022-10-31T13:50:15.630795Z",
|
||||
"shell.execute_reply.started": "2022-10-31T13:50:14.056464Z"
|
||||
"iopub.execute_input": "2022-11-03T12:05:14.162807Z",
|
||||
"iopub.status.busy": "2022-11-03T12:05:14.162264Z",
|
||||
"iopub.status.idle": "2022-11-03T12:05:15.514597Z",
|
||||
"shell.execute_reply": "2022-11-03T12:05:15.513708Z",
|
||||
"shell.execute_reply.started": "2022-11-03T12:05:14.162759Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
@@ -72,15 +72,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 2,
|
||||
"execution_count": 4,
|
||||
"id": "e5e4145b-d575-46b5-a530-c722668f76f3",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2022-10-31T13:54:54.428022Z",
|
||||
"iopub.status.busy": "2022-10-31T13:54:54.427379Z",
|
||||
"iopub.status.idle": "2022-10-31T13:54:54.840785Z",
|
||||
"shell.execute_reply": "2022-10-31T13:54:54.839677Z",
|
||||
"shell.execute_reply.started": "2022-10-31T13:54:54.427973Z"
|
||||
"iopub.execute_input": "2022-11-03T12:04:52.389836Z",
|
||||
"iopub.status.busy": "2022-11-03T12:04:52.389246Z",
|
||||
"iopub.status.idle": "2022-11-03T12:04:52.901781Z",
|
||||
"shell.execute_reply": "2022-11-03T12:04:52.900587Z",
|
||||
"shell.execute_reply.started": "2022-11-03T12:04:52.389788Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
@@ -147,15 +147,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"execution_count": 7,
|
||||
"id": "0582bc84-7234-415f-9715-66c27b6b8f91",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2022-10-31T13:55:58.223912Z",
|
||||
"iopub.status.busy": "2022-10-31T13:55:58.223359Z",
|
||||
"iopub.status.idle": "2022-10-31T13:55:59.450036Z",
|
||||
"shell.execute_reply": "2022-10-31T13:55:59.448892Z",
|
||||
"shell.execute_reply.started": "2022-10-31T13:55:58.223865Z"
|
||||
"iopub.execute_input": "2022-11-03T12:05:19.504467Z",
|
||||
"iopub.status.busy": "2022-11-03T12:05:19.503886Z",
|
||||
"iopub.status.idle": "2022-11-03T12:05:21.059764Z",
|
||||
"shell.execute_reply": "2022-11-03T12:05:21.058715Z",
|
||||
"shell.execute_reply.started": "2022-11-03T12:05:19.504418Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
@@ -177,7 +177,7 @@
|
||||
"list1 = []\n",
|
||||
"for k, v in dict1.items():\n",
|
||||
" list2 = []\n",
|
||||
" list2.append(str(k).rjust(8,'0'))\n",
|
||||
" list2.append(str(k).rjust(5,'0'))\n",
|
||||
" list2.append(v['name']) \n",
|
||||
" list2.append(dict2[k]['sex'])\n",
|
||||
" list2.append(dict2[k]['unit']) \n",
|
||||
@@ -190,7 +190,7 @@
|
||||
" else:\n",
|
||||
" list2.append('') \n",
|
||||
" list1.append(list2)\n",
|
||||
"filename = 'data/巴陵石化体测情况表(截至20221031).xlsx'\n",
|
||||
"filename = 'data/巴陵石化体测情况表(截至20221103).xlsx'\n",
|
||||
"wb = openpyxl.Workbook()\n",
|
||||
"sheet = wb.active\n",
|
||||
"sheet.append(title)\n",
|
||||
|
||||
Reference in new issue
Block a user