This commit is contained in:
512song committed 2023-11-30 17:20:26 +08:00
1 parent 726e423af1
commit b33bbbd408
3 files changed
+300 -17

No files matched your search

+19 -4
View File
@@ -557,12 +557,27 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 69,
"id": "b123ee6b-85d2-4660-b226-321832a6b796",
"metadata": {
"execution": {
"iopub.execute_input": "2023-11-30T06:48:03.978422Z",
"iopub.status.busy": "2023-11-30T06:48:03.978171Z",
"iopub.status.idle": "2023-11-30T06:52:22.756021Z",
"shell.execute_reply": "2023-11-30T06:52:22.754997Z",
"shell.execute_reply.started": "2023-11-30T06:48:03.978405Z"
},
"tags": []
},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"719\n"
]
}
],
"source": [
"import requests\n",
"import json\n",
@@ -576,7 +591,7 @@
"with open(filename,'r') as fl:\n",
" dict1 = json.load(fl)\n",
"list1 = []\n",
"fiie_path ='./北海炼化2023_1/'\n",
"fiie_path ='./北海炼化2023/'\n",
"list_item = ['lung','grip','flexion','jump','pushup','balance','reaction','step','situp','bmi']\n",
"i=0\n",
"list2 = []\n",
@@ -586,7 +601,7 @@
" \n",
" id = str(k).rjust(4,\"0\")\n",
" mydata['path'] = fiie_path+id+'-'+ v['name']+'.pdf'\n",
" mydata['title'] = '北海炼化'\n",
" mydata['title'] = '中国石化北海炼化\\n有限责任公司'\n",
" mydata['subtitle'] = v['unit']\n",
" mydata['id'] = id\n",
" mydata['name'] = v['name']\n",