This commit is contained in:
512song committed 2023-05-06 21:32:55 +08:00
1 parent 89ae72f87e
commit 3c8e9c5157
8 files changed
+728 -191

No files matched your search

+18 -18
View File
@@ -72,15 +72,15 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": 16,
"id": "4b52477e-926a-44b5-b8a0-20bff98d101d",
"metadata": {
"execution": {
"iopub.execute_input": "2023-04-28T02:29:30.505134Z",
"iopub.status.busy": "2023-04-28T02:29:30.504270Z",
"iopub.status.idle": "2023-04-28T02:29:30.603183Z",
"shell.execute_reply": "2023-04-28T02:29:30.602480Z",
"shell.execute_reply.started": "2023-04-28T02:29:30.505092Z"
"iopub.execute_input": "2023-05-05T13:53:58.994696Z",
"iopub.status.busy": "2023-05-05T13:53:58.993862Z",
"iopub.status.idle": "2023-05-05T13:53:59.019923Z",
"shell.execute_reply": "2023-05-05T13:53:59.019005Z",
"shell.execute_reply.started": "2023-05-05T13:53:58.994649Z"
},
"tags": []
},
@@ -89,8 +89,8 @@
"name": "stdout",
"output_type": "stream",
"text": [
"33\n",
"33\n"
"44\n",
"44\n"
]
}
],
@@ -112,8 +112,8 @@
"filename = 'data/长炼医院人员名单.json'\n",
"with open(filename,'r') as fl:\n",
" dict1 = json.load(fl) \n",
"rq = '20230428'\n",
"filename = f'data/places_result_{rq}.csv'\n",
"rq = '20230505'\n",
"filename = f'data/places_result_{rq}-clyy.csv'\n",
"with open(filename,'r',newline='') as csv_file:\n",
" fl = csv.reader(csv_file,delimiter=',')\n",
" header = next(fl) \n",
@@ -165,7 +165,7 @@
"filename = 'data/燕山石化人员名单.json'\n",
"with open(filename,'r') as fl:\n",
" dict1 = json.load(fl) \n",
"rq = '20230425'\n",
"rq = '20230505'\n",
"filename = f'data/places_result_{rq}.csv'\n",
"with open(filename,'r',newline='') as csv_file:\n",
" fl = csv.reader(csv_file,delimiter=',')\n",
@@ -219,15 +219,15 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 17,
"id": "2ffa583b-be51-40a8-bb55-de6a89d1a54a",
"metadata": {
"execution": {
"iopub.execute_input": "2023-04-28T02:29:52.437982Z",
"iopub.status.busy": "2023-04-28T02:29:52.437174Z",
"iopub.status.idle": "2023-04-28T02:29:52.467779Z",
"shell.execute_reply": "2023-04-28T02:29:52.466907Z",
"shell.execute_reply.started": "2023-04-28T02:29:52.437947Z"
"iopub.execute_input": "2023-05-05T13:54:34.525972Z",
"iopub.status.busy": "2023-05-05T13:54:34.525125Z",
"iopub.status.idle": "2023-05-05T13:54:34.570287Z",
"shell.execute_reply": "2023-05-05T13:54:34.569407Z",
"shell.execute_reply.started": "2023-05-05T13:54:34.525930Z"
},
"tags": []
},
@@ -236,7 +236,7 @@
"import json\n",
"import openpyxl\n",
"\n",
"rq = '20230428'\n",
"rq = '20230505'\n",
"items = ['身高','体重','肺活量','握力','坐位体前屈','纵跳','俯卧撑','一分钟仰卧起坐','单脚站立','选择反应时','台阶指数']\n",
"title = ['编号','姓名','性别','单位','身高','体重','肺活量','握力','坐位体前屈','纵跳','俯卧撑','一分钟仰卧起坐','单脚站立','选择反应时','台阶指数']\n",
"filename = f'data/result_长炼医院({rq}).json'\n",