20220812
This commit is contained in:
1 parent
f0667bdb25
commit
f463c8d49a
2 files changed
+145
-67
No files matched your search
+8
-47
@@ -963,27 +963,12 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 4,
|
||||
"execution_count": null,
|
||||
"id": "93d73139-1734-49e5-a59a-15898af9b1d8",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2022-08-05T07:46:15.088786Z",
|
||||
"iopub.status.busy": "2022-08-05T07:46:15.088219Z",
|
||||
"iopub.status.idle": "2022-08-05T07:46:15.146141Z",
|
||||
"shell.execute_reply": "2022-08-05T07:46:15.145040Z",
|
||||
"shell.execute_reply.started": "2022-08-05T07:46:15.088739Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"ok\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import pymysql\n",
|
||||
"import json\n",
|
||||
@@ -1098,31 +1083,12 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 7,
|
||||
"execution_count": null,
|
||||
"id": "a7cf5e57-a381-4911-96ff-1e1469b6f9bc",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2022-08-05T07:49:14.416959Z",
|
||||
"iopub.status.busy": "2022-08-05T07:49:14.416421Z",
|
||||
"iopub.status.idle": "2022-08-05T07:49:14.474792Z",
|
||||
"shell.execute_reply": "2022-08-05T07:49:14.473376Z",
|
||||
"shell.execute_reply.started": "2022-08-05T07:49:14.416912Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"ename": "KeyError",
|
||||
"evalue": "'bm'",
|
||||
"output_type": "error",
|
||||
"traceback": [
|
||||
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
|
||||
"\u001b[0;31mKeyError\u001b[0m Traceback (most recent call last)",
|
||||
"\u001b[0;32m<ipython-input-7-207983d31c51>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[1;32m 43\u001b[0m \u001b[0;31m#print(k,v)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 44\u001b[0m \u001b[0msheet\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34mf'A{n}'\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mk\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 45\u001b[0;31m \u001b[0msheet\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34mf'B{n}'\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mv\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'bm'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 46\u001b[0m \u001b[0msheet\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34mf'C{n}'\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mv\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'name'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 47\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0;34m'身高'\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mv\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mkeys\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
|
||||
"\u001b[0;31mKeyError\u001b[0m: 'bm'"
|
||||
]
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import json\n",
|
||||
"import openpyxl\n",
|
||||
@@ -1501,7 +1467,9 @@
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "4d255389-bc5c-4251-861e-3a4d65bf5c26",
|
||||
"metadata": {},
|
||||
"metadata": {
|
||||
"tags": []
|
||||
},
|
||||
"source": [
|
||||
"## 根据体测报告生成分组表"
|
||||
]
|
||||
@@ -2299,16 +2267,9 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 10,
|
||||
"execution_count": null,
|
||||
"id": "c288cfba-ff44-4cb2-8a77-78ecc45dcb41",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2022-06-22T09:12:51.227405Z",
|
||||
"iopub.status.busy": "2022-06-22T09:12:51.226182Z",
|
||||
"iopub.status.idle": "2022-06-22T09:12:51.354977Z",
|
||||
"shell.execute_reply": "2022-06-22T09:12:51.353040Z",
|
||||
"shell.execute_reply.started": "2022-06-22T09:12:51.227296Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"outputs": [],
|
||||
|
||||
Reference in new issue
Block a user