{"id":87877,"date":"2021-09-11T18:37:56","date_gmt":"2021-09-11T10:37:56","guid":{"rendered":"http:\/\/www.zhushiyao.com\/?p=87877"},"modified":"2021-09-11T18:38:19","modified_gmt":"2021-09-11T10:38:19","slug":"ad7d1cb422","status":"publish","type":"post","link":"http:\/\/www.zhushiyao.com\/?p=87877","title":{"rendered":"\u5f3a\u65e0\u654c\uff0c\u7528 Python \u590d\u73b0\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565"},"content":{"rendered":"<div class=\"bpp-post-content\">\n<section style=\"font-size: 16px;color: black;line-height: 1.6;letter-spacing: 0px;word-break: break-word;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;padding: 5px;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"letter-spacing: 0px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u5927\u5bb6\u597d\uff0c\u6211\u662f\u5e05\u4e1c\u54e5<img decoding=\"async\" style=\"display:inline-block;width:20px;vertical-align:text-bottom;\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2021\/09\/6-1631356676.png\" alt=\"\u5f3a\u65e0\u654c\uff0c\u7528 Python \u590d\u73b0\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\" title=\"\u5f3a\u65e0\u654c\uff0c\u7528 Python \u590d\u73b0\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\">\u3002<\/span>\n<\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u6700\u8fd1\u81ea\u5df1\u4e00\u76f4\u5728\u5b66\u4e60\u7406\u8d22\u76f8\u5173\u7684\u4e1c\u897f\uff0c\u6240\u4ee5\u540e\u9762\u4e00\u6bb5\u65f6\u95f4\uff0c\u53ef\u80fd\u4f1a\u591a\u5206\u4eab\u4e00\u4e9b\u8fd9\u65b9\u9762\u7684\u5b66\u4e60\u7b14\u8bb0<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u5176\u5b9e\u5728\u5b66\u4e60\u4e4b\u524d\uff0c\u6211\u4e00\u76f4\u5728\u601d\u8003\u4e00\u4e2a\u95ee\u9898\uff1a\u4e3a\u4ec0\u4e48\u6211\u4eec\u5728\u5e02\u573a\u4e0a\u8d5a\u4e0d\u4e86\u94b1\uff1f\u53ef\u80fd\u57fa\u91d1\u8fd8\u597d\u70b9\uff0c\u53ea\u8981\u884c\u60c5\u4e0d\u662f\u7279\u522b\u5dee\uff0c\u4f60\u4e00\u76f4\u5b9a\u6295\u603b\u4f1a\u6709\u591a\u591a\u5c11\u5c11\u6709\u70b9\u6536\u76ca\u7684\uff0c\u4f46\u662f\u5176\u4ed6\u5e02\u573a\u5c31\u771f\u4e0d\u597d\u8bf4\u4e86\u3002<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u89c2\u5bdf\u4e86\u4e00\u4e0b\u8eab\u8fb9\u7684\u670b\u53cb\u548c\u540c\u4e8b\uff0c\u5176\u5b9e\u5927\u591a\u6570\u4eba\u90fd\u662f\u5165\u95e8\u7684\u3002\u6bd4\u5982\u8bf4\u6709\u575a\u4fe1\u4ef7\u503c\u6295\u8d44\u7684\uff0c\u62ff\u7740\u767d\u9a6c\u4e00\u62ff\u5c31\u662f\u597d\u51e0\u5e74\u7684\uff1b\u4e5f\u6709\u89c2\u5bdf\u5e02\u573a\u70ed\u70b9\u7684\uff0c\u8ffd\u6da8\u6740\u8dcc\u73a9\u7684\u4e0d\u4ea6\u4e50\u4e4e\u3002\u4f46\u662f\u5927\u5bb6\u7684\u6536\u76ca\u90fd\u5f88\u4e00\u822c\uff0c\u751a\u81f3\u4e8f\u94b1\u7684\u4e5f\u4e0d\u5c11\u3002<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u6240\u4ee5\uff0c\u6211\u5728\u601d\u8003\u7684\u65f6\u5019\u5c31\u5728\u60f3 <strong style=\"color: rgb(228, 105, 24);\">\u4ef7\u503c\u6295\u8d44\u548c\u77ed\u7ebf\u70ed\u70b9<\/strong> \u8fd9\u4e8b\u3002\u5176\u5b9e\u4ef7\u503c\u6295\u8d44\u6ca1\u6709\u95ee\u9898\uff0c\u4f46\u662f\u62ff\u7684\u592a\u4e45\u5c31\u662f\u95ee\u9898\uff1b\u77ed\u7ebf\u70ed\u70b9\u4e5f\u6ca1\u6709\u95ee\u9898\uff0c\u4f46\u662f\u6ca1\u9009\u5bf9\u5177\u4f53\u7684\u4e2a\u80a1\u57fa\u91d1\u5c31\u662f\u95ee\u9898\u3002<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u5e76\u4e14\uff0c\u6211\u81ea\u5df1\u662f\u7814\u7a76\u6570\u636e\u5206\u6790\u7684\uff0c\u662f\u4e0d\u662f\u53ef\u4ee5\u5728\u5e02\u573a\u7684\u57fa\u7840\u4e0a\u52a0\u4e00\u4e9b\u6570\u636e\u5206\u6790\u5bfc\u5411\u7684\u5185\u5bb9\uff1f\u6216\u8005\u662f\u5728\u6570\u636e\u7684\u57fa\u7840\u4e0a\uff0c\u504f\u5411\u4e8e\u70ed\u70b9\u5e02\u573a\u7684\u677f\u5757\uff1f<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u76ee\u524d\u6765\u770b\uff0c\u57fa\u4e8e\u4e0a\u9762\u8fd9\u4e2a\u95ee\u9898\u7684\u601d\u8003\uff0c\u6211\u662f\u6709\u4e00\u4e9b\u5c0f\u5c0f\u7684\u6536\u83b7\u7684\u3002<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u4f46\u662f\u6211\u4e5f\u8fd8\u5728\u5b66\u4e60\u4e2d\uff0c\u4eca\u5929\u7684\u6587\u7ae0\u751a\u81f3\u540e\u671f\u7684\u6587\u7ae0\u90fd\u53ea\u662f\u4e00\u4e2a\u9636\u6bb5\u6027\u7684\u5b66\u4e60\u7b14\u8bb0\uff0c\u4e0d\u6562\u8bf4\u6587\u7ae0\u7684\u65b9\u6cd5\u9002\u5408\u4e8e\u6240\u6709\u4eba\u3002\u6240\u4ee5\u5927\u5bb6\u6284\u4f5c\u4e1a\u7684\u65f6\u5019\u4e5f\u591a\u591a\u601d\u8003\u4e00\u4e0b\uff0c\u6bd5\u7adf\u65b9\u6cd5\u662f\u6211\u7684\uff0c<strong style=\"color: rgb(228, 105, 24);\">\u4f46\u662f\u94b1\u662f\u4f60\u7684\u554a\uff01<\/strong><\/span><\/p>\n<p><br mpa-from-tpl=\"t\"><\/p>\n<\/section>\n<section mpa-from-tpl=\"t\">\n<section style=\"display: flex;justify-content: center;align-items: center;\" mpa-from-tpl=\"t\"><img decoding=\"async\" style=\"width: 66px;height: 21px;\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2021\/09\/7-1631356676.png\" alt=\"\u5f3a\u65e0\u654c\uff0c\u7528 Python \u590d\u73b0\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\" title=\"\u5f3a\u65e0\u654c\uff0c\u7528 Python \u590d\u73b0\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\"><\/section>\n<\/section>\n<section style=\"font-size: 16px;color: black;line-height: 1.6;letter-spacing: 0px;word-break: break-word;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;padding: 5px;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">ok\uff0c\u8bf4\u4e86\u4e9b\u95f2\u8bdd\uff0c\u5f00\u59cb\u4eca\u5929\u7684\u6b63\u6587\u3002<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u4eca\u5929\u7684\u6587\u7ae0\u662f\u5bf9\u4e00\u4e2a\u62e9\u65f6\u7b56\u7565\u7684\u590d\u73b0\uff0c\u6570\u636e\u662f\u57fa\u4e8e\u6bcf\u65e5\u5927A\u5317\u4e0a\u8d44\u91d1\u8fdb\u884c\u7684\u3002\u8fd9\u4e2a\u7b56\u7565\u5f88\u7b80\u5355\u7684\u4e00\u4e2a\u5e94\u7528\uff1a\u5f53\u5e02\u573a\u5904\u4e8e\u6301\u7eed\u4f4e\u8c37\u7684\u65f6\u5019\uff0c\u4f60\u53ef\u4ee5\u52a0\u5927\u4f60\u5b9a\u6295\u7684\u6bd4\u4f8b\uff1b\u5f53\u5e02\u573a\u5f00\u59cb\u706b\u70ed\u4e00\u6bb5\u65f6\u95f4\u4e86\uff0c\u4f60\u9700\u8981\u6162\u6162\u51cf\u5c11\u4f60\u5b9a\u6295\u7684\u91d1\u989d\u3002<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u5c31\u50cf\u90a3\u53e5\u8bdd\uff1a\u5728\u522b\u4eba\u8d2a\u5a6a\u7684\u65f6\u5019\u6211\u6050\u60e7\uff0c\u5728\u522b\u4eba\u7a7a\u636e\u7684\u65f6\u5019\u6211\u8d2a\u5a6a\u3002<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u4ee5\u4e0b\u662f\u771f\u6b63\u7684\u6b63\u6587\uff1a<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u5728\u6587\u7ae0\u5f00\u59cb\u4e4b\u524d\uff0c\u5148\u7ed9\u5927\u5bb6\u666e\u53ca\u4e00\u4e0b\u5317\u4e0a\u8d44\u91d1\u7684\u6982\u5ff5\uff0c\u61c2\u7684\u540c\u5b66\u53ef\u4ee5\u8df3\u8fc7\u53bb\u770b\u4e0b\u4e00\u8282<\/span><\/p>\n<h4 style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;background-color: #000;color: #fff;padding: 2px 10px;width: fit-content;font-size: 20px;margin: 20px auto 10px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u5317\u4e0a\u8d44\u91d1?<\/span><\/h4>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u5728\u4e2d\u56fd\u80a1\u5e02\u4e2d\u6709\u201c\u5357\u5317\u201d\u4e4b\u79f0\uff0c\u4e00\u822c\u201c\u5317\u201d\u6307\u7684\u662f\u6caa\u6df1\u4e24\u5e02\u7684\u80a1\u7968\uff0c\u201c\u5357\u201d\u6307\u7684\u662f\u9999\u6e2f\u80a1\u7968\u3002\u56e0\u6b64\uff0c\u5317\u4e0a\u8d44\u91d1\u5c31\u662f\u6307\u4ece\u9999\u6e2f\u80a1\u7968\u4e2d\u6d41\u5165\u5927\u9646\u80a1\u5e02\u7684\u8d44\u91d1\uff0c\u4e00\u822c\u4e3a\u9999\u6e2f\u8d44\u91d1\u4ee5\u53ca\u56fd\u9645\u8d44\u91d1\u3002<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u4ece\u5386\u53f2\u6570\u636e\u6765\u770b\uff0c \u4e0d\u7ba1\u662f\u957f\u7ebf\u77ed\u7ebf\uff0c\u5317\u4e0a\u8d44\u91d1\u90fd\u6bd4A\u80a1\u5927\u90e8\u5206\u6295\u8d44\u8005\u806a\u660e\u3002\u539f\u56e0\u6709\u5f88\u591a\uff0c\u6bd4\u5982\u8bf4\uff1a\u53ef\u80fd\u662f\u5916\u8d44\u7684\u6295\u8d44\u7ecf\u9a8c\u4e30\u5bcc\u4fe1\u606f\u6e20\u9053\u5e7f\uff0c\u4e5f\u6709\u53ef\u80fd\u662f\u5185\u5730\u90e8\u5206\u6e38\u8d44\u901a\u8fc7\u5317\u5411\u8d44\u91d1\u901a\u9053\u8fdb\u6765\uff0c\u4e5f\u5c31\u662f\u6362\u4e86\u4e00\u5c42\u9a6c\u7532\u3002<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u6240\u4ee5\uff0c\u5728\u6bcf\u5929\u5b9e\u76d8\u7684\u65f6\u5019\uff0c\u5927\u5bb6\u53ef\u4ee5\u5173\u6ce8\u5317\u5411\u8d44\u91d1\u7684\u4e70\u5165\u60c5\u51b5\uff0c\u5077\u61d2\u4e00\u70b9\u7684\u4e5f\u53ef\u4ee5\u8ddf\u7740\u4ea4\u6613\u3002<strong style=\"color: rgb(228, 105, 24);\">\u4f46\u662f\u4f46\u662f\u4f46\u662f<\/strong>\uff0c\u8fd9\u91cc\u9762\u6709\u4e24\u4e2a\u6982\u5ff5\u7279\u522b\u5bb9\u6613\u88ab\u5927\u5bb6\u6df7\u6dc6\uff1a\u51c0\u6d41\u5165\u548c\u51c0\u4e70\u5165\uff0c\u5176\u5b9e\u5b83\u7684\u516c\u5f0f\u5f88\u7b80\u5355\uff1a<\/span><\/p>\n<p><span style=\"cursor: pointer;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><\/span><\/p>\n<section role=\"presentation\" style=\"text-align: center;overflow: auto;\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" role=\"img\" focusable=\"false\" viewBox=\"0 -750 14523 950\" aria-hidden=\"true\" style=\"-webkit-overflow-scrolling: touch;vertical-align: -0.452ex;width: 32.857ex;height: 2.149ex;max-width: 300% !important;\"><g stroke=\"currentColor\" fill=\"currentColor\" stroke-width=\"0\" transform=\"matrix(1 0 0 -1 0 0)\"><g><g><text transform=\"matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u8d44<\/text><text transform=\"translate(946.6, 0) matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u91d1<\/text><text transform=\"translate(1906.4, 0) matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u51c0<\/text><text transform=\"translate(2866.2, 0) matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u6d41<\/text><text transform=\"translate(3826, 0) matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u5165<\/text><path d=\"M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z\" transform=\"translate(4785.8, 0)\"><\/path><text transform=\"translate(5563.8, 0) matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u5f53<\/text><text transform=\"translate(6510.4, 0) matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u65e5<\/text><text transform=\"translate(7457, 0) matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u9650<\/text><text transform=\"translate(8416.8, 0) matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u989d<\/text><\/g><g transform=\"translate(9654.4, 0)\"><path d=\"M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z\"><\/path><\/g><g transform=\"translate(10710.2, 0)\"><text transform=\"matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u5f53<\/text><text transform=\"translate(946.6, 0) matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u65e5<\/text><text transform=\"translate(1893.3, 0) matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u4f59<\/text><text transform=\"translate(2853.1, 0) matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u989d<\/text><\/g><\/g><\/g><\/svg><\/section>\n<section role=\"presentation\" style=\"text-align: center;overflow: auto;\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" role=\"img\" focusable=\"false\" viewBox=\"0 -750 16482 950\" aria-hidden=\"true\" style=\"-webkit-overflow-scrolling: touch;vertical-align: -0.452ex;width: 37.29ex;height: 2.149ex;max-width: 300% !important;\"><g stroke=\"currentColor\" fill=\"currentColor\" stroke-width=\"0\" transform=\"matrix(1 0 0 -1 0 0)\"><g><g><text transform=\"matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u8d44<\/text><text transform=\"translate(946.6, 0) matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u91d1<\/text><text transform=\"translate(1906.4, 0) matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u51c0<\/text><text transform=\"translate(2866.2, 0) matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u4e70<\/text><text transform=\"translate(3826, 0) matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u5165<\/text><path d=\"M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z\" transform=\"translate(4785.8, 0)\"><\/path><text transform=\"translate(5563.8, 0) matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u4e70<\/text><text transform=\"translate(6523.5, 0) matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u5165<\/text><text transform=\"translate(7483.3, 0) matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u6210<\/text><text transform=\"translate(8443.1, 0) matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u4ea4<\/text><text transform=\"translate(9402.9, 0) matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u989d<\/text><\/g><g transform=\"translate(10640.4, 0)\"><path d=\"M84 237T84 250T98 270H679Q694 262 694 250T679 230H98Q84 237 84 250Z\"><\/path><\/g><g transform=\"translate(11696.2, 0)\"><text transform=\"matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u5356<\/text><text transform=\"translate(959.8, 0) matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u51fa<\/text><text transform=\"translate(1906.4, 0) matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u6210<\/text><text transform=\"translate(2866.2, 0) matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u4ea4<\/text><text transform=\"translate(3826, 0) matrix(1 0 0 -1 0 0)\" font-size=\"947.1px\" font-family=\"serif\">\u989d<\/text><\/g><\/g><\/g><\/svg><\/section>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u7ed9\u5927\u5bb6\u89e3\u91ca\u4e0b\uff0c\u5916\u8d44\u6bcf\u5929\u4e70\u5356\u54b1\u4eecA\u80a1\u90fd\u662f\u6709\u989d\u5ea6\u9650\u5236\u7684\uff0c\u76ee\u524d\u6caa\u80a1\u901a\u548c\u6df1\u80a1\u901a\u7684\u989d\u5ea6\u90fd\u662f\u6bcf\u4e2a\u4ea4\u6613\u65e5 520\u4ebf\uff0c\u800c\u4e14\u662f\u53ea\u8981\u6302\u5355\u5c31\u4f1a\u5360\u7528\u989d\u5ea6\uff0c<strong style=\"color: rgb(228, 105, 24);\">\u65e0\u8bba\u662f\u5426\u6210\u4ea4<\/strong>\u3002<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u6240\u4ee5\uff0c\u5f53\u65e5\u8d44\u91d1\u51c0\u6d41\u5165\u4f1a\u5305\u542b\u5f53\u65e5\u6210\u4ea4\u4e70\u5165\u989d\u548c\u5f53\u65e5\u7533\u62a5\u4f46\u672a\u6210\u4ea4\u7684\u4e70\u5355\u91d1\u989d\uff0c\u90a3\u4e48\u51c0\u6d41\u5165\u91d1\u989d\u4e00\u5b9a\u4f1a\u5927\u4e8e\u6216\u7b49\u4e8e\u51c0\u4e70\u5165\u91d1\u989d\uff0c\u8fd9\u662f\u4e24\u8005\u6700\u5927\u7684\u533a\u522b\u3002<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u5efa\u8bae\u5927\u5bb6\u770b\u5317\u5411\u8d44\u91d1\u7684\u65f6\u5019\u8fd8\u662f\u8981\u770b\u51c0\u4e70\u5165\u91d1\u989d\uff0c\u56e0\u4e3a\u51c0\u6d41\u5165\u91d1\u989d\u53ea\u80fd\u4ee3\u8868\u5317\u5411\u8d44\u91d1\u7684\u4e00\u4e2a\u8d2d\u4e70\u610f\u613f\uff0c\u5e76\u4e0d\u80fd\u4ee3\u8868\u771f\u5b9e\u4ea4\u6613\u3002<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><br \/>\n<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u5e38\u89c1\u7684\uff0c\u4e00\u822c <strong style=\"color: rgb(228, 105, 24);\">\u6807\u51c6\u7684<\/strong> \u8d22\u7ecf\u7f51\u7ad9\u4f60\u5e94\u8be5\u4f1a\u770b\u5230\u4e0b\u9762\u8fd9\u79cd\u56fe\uff1a<\/span><\/p>\n<p style=\"text-align: center;padding: 0px 0.5em;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" style=\"box-shadow: rgb(210, 210, 210) 0em 0em 0.5em 0px;font-size: 17px;border-radius: 6px;\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2021\/09\/2-1631356676.png\" alt=\"\u5f3a\u65e0\u654c\uff0c\u7528 Python \u590d\u73b0\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\" title=\"\u5f3a\u65e0\u654c\uff0c\u7528 Python \u590d\u73b0\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\"><\/p>\n<p style=\"text-align: center;padding: 0px 0.5em;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" style=\"box-shadow: rgb(210, 210, 210) 0em 0em 0.5em 0px;font-size: 17px;border-radius: 6px;\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2021\/09\/4-1631356676.png\" alt=\"\u5f3a\u65e0\u654c\uff0c\u7528 Python \u590d\u73b0\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\" title=\"\u5f3a\u65e0\u654c\uff0c\u7528 Python \u590d\u73b0\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\"><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u4f46\u662f\u5f88\u591a\u65f6\u5019\u4f60\u770b\u5230\u7684\u90fd\u53ea\u662f\u4e00\u4e2a\u51c0\u6d41\u5165\u7684\u6570\u636e\uff0c\u5e76\u6ca1\u6709\u76f4\u63a5\u663e\u793a\u51c0\u4e70\u5165\u7684\u6570\u636e\u3002<br \/>\n<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u5176\u5b9e\u4e5f\u4e0d\u662f\u8bf4\u8fd9\u4e2a\u6570\u636e\u4e0d\u5bf9\uff0c\u53ea\u662f\u8bf4\u51c0\u4e70\u5165\u6570\u636e\u4f1a\u66f4\u51c6\u786e\u4e9b\uff0c\u66f4\u80fd\u53cd\u6620\u5f53\u524d\u5317\u4e0a\u8d44\u91d1\u7684\u771f\u5b9e\u60c5\u51b5\u3002\u8fd9\u4e2a\u6570\u636e\u6700\u51c6\u786e\u7684\u5c31\u662f\u5728\u6e2f\u4ea4\u6240\u4e86\uff0c\u800c\u4e14\u662f\u6709\u76d8\u4e2d\u5b9e\u65f6\u52a8\u6001\u64ad\u62a5\u7684\uff0c\u5927\u5bb6\u53ef\u4ee5\u53bb\u4e86\u89e3\u4e00\u4e0b\u3002<\/span><\/p>\n<p><br mpa-from-tpl=\"t\"><\/p>\n<\/section>\n<section mpa-from-tpl=\"t\">\n<section style=\"display: flex;justify-content: center;align-items: center;\" mpa-from-tpl=\"t\"><img decoding=\"async\" style=\"width: 66px;height: 21px;\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2021\/09\/10-1631356676.png\" alt=\"\u5f3a\u65e0\u654c\uff0c\u7528 Python \u590d\u73b0\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\" title=\"\u5f3a\u65e0\u654c\uff0c\u7528 Python \u590d\u73b0\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\"><\/section>\n<\/section>\n<section style=\"font-size: 16px;color: black;line-height: 1.6;letter-spacing: 0px;word-break: break-word;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;padding: 5px;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u8bf4\u5b8c\u57fa\u7840\u77e5\u8bc6\uff0c\u518d\u6765\u8bf4\u4eca\u5929\u7684\u91cd\u70b9\uff1a\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\u5b9e\u73b0\uff1a<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u5176\u5b9e\u7528\u4e00\u53e5\u8bdd\u5c31\u53ef\u4ee5\u89e3\u91ca\u6240\u8c13\u7684\u62e9\u65f6\u9009\u80a1\u7b56\u7565\uff1a<strong style=\"color: rgb(228, 105, 24);\">\u57fa\u4e8e\u6307\u6807\uff0c\u5bf9\u6307\u6570\u8fdb\u884c\u62e9\u65f6\uff08\u5373\u5224\u65ad\u6307\u6570\u65b9\u5411\uff09\uff0c\u5982\u679c\u65b9\u5411\u5411\u4e0a\uff0c\u5c31\u8fdb\u884c\u9009\u80a1<\/strong>\u3002<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u4e0b\u56fe\u662f\u534e\u6cf0\u8bc1\u5238\u7814\u7a76\u6240\u7684\u4e00\u7bc7\u62a5\u544a\uff0c\u5176\u4e2d\u63d0\u5230\u4e86\u4e00\u4e2a\u57fa\u4e8e\u5317\u4e0a\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\u3002\u6b63\u5982\u6587\u7ae0\u5f00\u5934\u6240\u8bf4\uff0c\u5317\u4e0a\u8d44\u91d1\u76ee\u524d\u4f5c\u4e3a\u5927A\u7684\u98ce\u5411\u6807\uff0c\u5177\u6709\u4e00\u5b9a\u7684\u53ef\u53c2\u8003\u6027\u3002<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u800c\u62a5\u544a\u4e2d\u901a\u8fc7\u5317\u4e0a\u8d44\u91d1\u4e0e\u6caa\u6df1300\u7684\u76f8\u5173\u7cfb\u6570\uff0c\u4e5f\u5b8c\u7f8e\u9610\u91ca\u4e86\u8fd9\u4e00\u70b9\uff1a<\/span><\/p>\n<p style=\"text-align: center;padding: 0px 0.5em;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" style=\"box-shadow: rgb(210, 210, 210) 0em 0em 0.5em 0px;font-size: 17px;border-radius: 6px;\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2021\/09\/0-1631356676.png\" alt=\"\u5f3a\u65e0\u654c\uff0c\u7528 Python \u590d\u73b0\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\" title=\"\u5f3a\u65e0\u654c\uff0c\u7528 Python \u590d\u73b0\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\"><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u8be5\u62e9\u65f6\u7b56\u7565\u7684\u5177\u4f53\u5185\u5bb9\u662f\u8fd9\u6837\u7684\uff1a<\/span>\n<\/p>\n<figure style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" style=\"display: block;margin-right: auto;margin-left: auto;box-shadow: rgba(170, 170, 170, 0.48) 0px 0px 6px 0px;border-radius: 4px;margin-top: 10px;\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2021\/09\/2-1631356676-1.png\" alt=\"\u5f3a\u65e0\u654c\uff0c\u7528 Python \u590d\u73b0\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\" title=\"\u5f3a\u65e0\u654c\uff0c\u7528 Python \u590d\u73b0\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\"><\/figure>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u7b56\u7565\u7406\u89e3\u8d77\u6765\u5f88\u5bb9\u6613\uff0c\u4f46\u662f\u600e\u4e48\u5b9e\u73b0\u5462\uff1f<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u4ee5\u4e0b\u6e90\u7801\u62ff\u53bb\u5373\u7528\uff08\u9664\u4e86tushare\u9700\u8981\u5b89\u88c5\uff0c\u4e0d\u8fc7\u6211\u60f3\u8fd9\u4e2a\u4e0d\u7528\u6211\u6559\u4e86\u5427\uff09\uff0c\u7b97\u662f\u5f00\u6e90\u5206\u4eab\u7ed9\u5927\u5bb6\u3002<\/span><\/p>\n<h5 style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;\"><span style=\"border-left: 3px solid rgb(228, 105, 24);color: rgb(81, 81, 81);padding-left: 10px;margin-left: 6px;font-size: 17px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">1. \u5bfc\u5165\u76f8\u5e94\u7684\u5e93<\/span><\/h5>\n<pre style=\"box-shadow: rgba(170, 170, 170, 0.48) 0px 0px 6px 0px;border-radius: 4px;margin: 1px 6px;\"><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;font-size: 12px;-webkit-overflow-scrolling: touch;padding-top: 15px;background: #282c34;border-radius: 5px;\"><span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">#&nbsp;\u5bfc\u5165\u76f8\u5e94\u7684\u5e93<\/span>\n<span style=\"color: #c678dd;line-height: 26px;\">import<\/span>&nbsp;tushare&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">as<\/span>&nbsp;ts\n<span style=\"color: #c678dd;line-height: 26px;\">import<\/span>&nbsp;datetime\n<span style=\"color: #c678dd;line-height: 26px;\">import<\/span>&nbsp;pandas&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">as<\/span>&nbsp;pd\n<span style=\"color: #c678dd;line-height: 26px;\">import<\/span>&nbsp;numpy&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">as<\/span>&nbsp;np\n<\/code><\/pre>\n<h5 style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;\"><span style=\"border-left: 3px solid rgb(228, 105, 24);color: rgb(81, 81, 81);padding-left: 10px;margin-left: 6px;font-size: 17px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">2. \u901a\u8fc7\u63a5\u53e3 token \u94fe\u63a5\u5230 tushare<\/span><\/h5>\n<pre style=\"box-shadow: rgba(170, 170, 170, 0.48) 0px 0px 6px 0px;border-radius: 4px;margin: 1px 6px;\"><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;font-size: 12px;-webkit-overflow-scrolling: touch;padding-top: 15px;background: #282c34;border-radius: 5px;\"><span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">#&nbsp;\u5c06&nbsp;token&nbsp;\u66ff\u6362\u6210\u4f60\u81ea\u5df1\u7684\u5c31\u884c<\/span>\ntoken&nbsp;=&nbsp;<span style=\"color: #98c379;line-height: 26px;\">'\u66ff\u6362\u6210\u4f60\u81ea\u5df1\u7684token'<\/span>\npro&nbsp;=&nbsp;ts.pro_api(token)\n<\/code><\/pre>\n<h5 style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;\"><span style=\"border-left: 3px solid rgb(228, 105, 24);color: rgb(81, 81, 81);padding-left: 10px;margin-left: 6px;font-size: 17px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">3. \u83b7\u53d6\u4ea4\u6613\u65e5\u7684\u65e5\u671f\u5217\u8868<\/span><\/h5>\n<pre style=\"box-shadow: rgba(170, 170, 170, 0.48) 0px 0px 6px 0px;border-radius: 4px;margin: 1px 6px;\"><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;font-size: 12px;-webkit-overflow-scrolling: touch;padding-top: 15px;background: #282c34;border-radius: 5px;\"><span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">#&nbsp;\u83b7\u53d6\u6240\u6709\u4ea4\u6613\u65e5\u6570\u636e<\/span>\ntrade_date&nbsp;=&nbsp;pro.trade_cal(start_date=<span style=\"color: #98c379;line-height: 26px;\">'20180101'<\/span>,end_date=datetime.datetime.today().strftime(<span style=\"color: #98c379;line-height: 26px;\">'%Y%m%d'<\/span>))\ndate_list&nbsp;=&nbsp;list(trade_date[trade_date.is_open==<span style=\"color: #d19a66;line-height: 26px;\">1<\/span>][<span style=\"color: #98c379;line-height: 26px;\">'cal_date'<\/span>].values)\n<\/code><\/pre>\n<h5 style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;\"><span style=\"border-left: 3px solid rgb(228, 105, 24);color: rgb(81, 81, 81);padding-left: 10px;margin-left: 6px;font-size: 17px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">4. \u83b7\u53d6\u5317\u4e0a\u8d44\u91d1\u7684\u65e5\u7c92\u5ea6\u6570\u636e<\/span><\/h5>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u56e0\u4e3a\u5355\u6b21\u8bf7\u6c42\u9650\u5236\u4e3a300\u6761\uff0c\u6240\u4ee5\u8fd9\u4e00\u6b65\u53ef\u4ee5\u5206\u591a\u6b21\u83b7\u53d6<\/span><\/p>\n<pre style=\"box-shadow: rgba(170, 170, 170, 0.48) 0px 0px 6px 0px;border-radius: 4px;margin: 1px 6px;\"><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;font-size: 12px;-webkit-overflow-scrolling: touch;padding-top: 15px;background: #282c34;border-radius: 5px;\"><span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">#&nbsp;\u5355\u6b21\u8bf7\u6c42\u9650\u5236\u4e3a300\u6761\uff0c\u5206\u4e24\u6b21\u83b7\u53d6<\/span>\ndf_data1&nbsp;=&nbsp;pro.moneyflow_hsgt(start_date=date_list[<span style=\"color: #d19a66;line-height: 26px;\">0<\/span>:<span style=\"color: #d19a66;line-height: 26px;\">300<\/span>][<span style=\"color: #d19a66;line-height: 26px;\">0<\/span>],&nbsp;end_date=date_list[<span style=\"color: #d19a66;line-height: 26px;\">0<\/span>:<span style=\"color: #d19a66;line-height: 26px;\">300<\/span>][<span style=\"color: #d19a66;line-height: 26px;\">-1<\/span>])\ndf_data2&nbsp;=&nbsp;pro.moneyflow_hsgt(start_date=date_list[<span style=\"color: #d19a66;line-height: 26px;\">300<\/span>:<span style=\"color: #d19a66;line-height: 26px;\">600<\/span>][<span style=\"color: #d19a66;line-height: 26px;\">0<\/span>],&nbsp;end_date=date_list[<span style=\"color: #d19a66;line-height: 26px;\">300<\/span>:<span style=\"color: #d19a66;line-height: 26px;\">600<\/span>][<span style=\"color: #d19a66;line-height: 26px;\">-1<\/span>])\ndf_data3&nbsp;=&nbsp;pro.moneyflow_hsgt(start_date=date_list[<span style=\"color: #d19a66;line-height: 26px;\">600<\/span>:][<span style=\"color: #d19a66;line-height: 26px;\">0<\/span>],&nbsp;end_date=date_list[<span style=\"color: #d19a66;line-height: 26px;\">600<\/span>:][<span style=\"color: #d19a66;line-height: 26px;\">-1<\/span>])\n<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">#&nbsp;\u5408\u5e76\u6570\u636e<\/span>\ndf_data&nbsp;=&nbsp;df_data1.append([df_data2,&nbsp;df_data3],&nbsp;ignore_index=<span style=\"color: #56b6c2;line-height: 26px;\">True<\/span>)\ndf_data&nbsp;=&nbsp;df_data.sort_values(<span style=\"color: #98c379;line-height: 26px;\">'trade_date'<\/span>,ascending=<span style=\"color: #56b6c2;line-height: 26px;\">True<\/span>).reset_index(drop=<span style=\"color: #56b6c2;line-height: 26px;\">True<\/span>)\n<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">#&nbsp;\u91cd\u547d\u540d<\/span>\ndf_data&nbsp;=&nbsp;df_data.rename(columns={<span style=\"color: #98c379;line-height: 26px;\">'ggt_ss'<\/span>:<span style=\"color: #98c379;line-height: 26px;\">'\u6e2f\u80a1\u901a-\u4e0a\u6d77'<\/span>,&nbsp;<span style=\"color: #98c379;line-height: 26px;\">'ggt_sz'<\/span>:<span style=\"color: #98c379;line-height: 26px;\">'\u6e2f\u80a1\u901a-\u6df1\u5733'<\/span>,&nbsp;<span style=\"color: #98c379;line-height: 26px;\">'hgt'<\/span>:<span style=\"color: #98c379;line-height: 26px;\">'\u6caa\u80a1\u901a'<\/span>,&nbsp;<span style=\"color: #98c379;line-height: 26px;\">'sgt'<\/span>:<span style=\"color: #98c379;line-height: 26px;\">'\u6df1\u80a1\u901a'<\/span>,&nbsp;<span style=\"color: #98c379;line-height: 26px;\">'north_money'<\/span>:<span style=\"color: #98c379;line-height: 26px;\">'\u5317\u5411\u8d44\u91d1'<\/span>,&nbsp;<span style=\"color: #98c379;line-height: 26px;\">'south_money'<\/span>:<span style=\"color: #98c379;line-height: 26px;\">'\u5357\u5411\u8d44\u91d1'<\/span>})\n<\/code><\/pre>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u8d44\u91d1\u5bf9\u5e94\u7684\u5355\u4f4d\u662f \u767e\u4e07\uff0c\u4e3a\u4e86\u65b9\u4fbf\u67e5\u770b\uff0c\u8fd9\u91cc\u9700\u8981\u8fdb\u884c\u5355\u4f4d\u7684\u8f6c\u6362<\/span><\/p>\n<pre style=\"box-shadow: rgba(170, 170, 170, 0.48) 0px 0px 6px 0px;border-radius: 4px;margin: 1px 6px;\"><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;font-size: 12px;-webkit-overflow-scrolling: touch;padding-top: 15px;background: #282c34;border-radius: 5px;\"><span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">#&nbsp;\u5355\u4f4d\u6362\u7b97\uff1a\u767e\u4e07-&gt;\u4ebf<\/span>\ndf_data[<span style=\"color: #98c379;line-height: 26px;\">'\u6e2f\u80a1\u901a-\u4e0a\u6d77'<\/span>]&nbsp;=&nbsp;df_data[<span style=\"color: #98c379;line-height: 26px;\">'\u6e2f\u80a1\u901a-\u4e0a\u6d77'<\/span>]*<span style=\"color: #d19a66;line-height: 26px;\">0.01<\/span>\ndf_data[<span style=\"color: #98c379;line-height: 26px;\">'\u6e2f\u80a1\u901a-\u6df1\u5733'<\/span>]&nbsp;=&nbsp;df_data[<span style=\"color: #98c379;line-height: 26px;\">'\u6e2f\u80a1\u901a-\u6df1\u5733'<\/span>]*<span style=\"color: #d19a66;line-height: 26px;\">0.01<\/span>\ndf_data[<span style=\"color: #98c379;line-height: 26px;\">'\u6caa\u80a1\u901a'<\/span>]&nbsp;=&nbsp;df_data[<span style=\"color: #98c379;line-height: 26px;\">'\u6caa\u80a1\u901a'<\/span>]*<span style=\"color: #d19a66;line-height: 26px;\">0.01<\/span>\ndf_data[<span style=\"color: #98c379;line-height: 26px;\">'\u6df1\u80a1\u901a'<\/span>]&nbsp;=&nbsp;df_data[<span style=\"color: #98c379;line-height: 26px;\">'\u6df1\u80a1\u901a'<\/span>]*<span style=\"color: #d19a66;line-height: 26px;\">0.01<\/span>\ndf_data[<span style=\"color: #98c379;line-height: 26px;\">'\u5317\u5411\u8d44\u91d1'<\/span>]&nbsp;=&nbsp;df_data[<span style=\"color: #98c379;line-height: 26px;\">'\u5317\u5411\u8d44\u91d1'<\/span>]*<span style=\"color: #d19a66;line-height: 26px;\">0.01<\/span>\ndf_data[<span style=\"color: #98c379;line-height: 26px;\">'\u5357\u5411\u8d44\u91d1'<\/span>]&nbsp;=&nbsp;df_data[<span style=\"color: #98c379;line-height: 26px;\">'\u5357\u5411\u8d44\u91d1'<\/span>]*<span style=\"color: #d19a66;line-height: 26px;\">0.01<\/span>\n<\/code><\/pre>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u8fd9\u91cc\u6709\u4e00\u70b9\u9700\u8981\u6ce8\u610f\uff0c\u56e0\u4e3a\u6709\u4e2a\u522b\u65e5\u671f\u5317\u4e0a\u8d44\u91d1\u662f\u65e0\u6cd5\u8fdb\u884c\u4ea4\u6613\u7684\u3002\u4f8b\u5982\uff1a6\u670830\u65e5-7\u67081\u65e5\u9999\u6e2f\u7279\u522b\u884c\u653f\u533a\u7eaa\u5ff5\u65e5\u3001\u91cd\u9633\u8282\u3001\u5723\u8bde\u8282\u7b49\u5747\u4f1a\u6709\u4f11\u5e02\u60c5\u51b5\u53d1\u751f\u3002<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u6240\u4ee5\uff0c\u6709\u5fc5\u8981\u5254\u9664\u6389\u8fd9\u4e9b\u5317\u4e0a\u8d44\u91d1\u4f11\u5e02\u7684\u60c5\u51b5\u3002<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u89c2\u5bdf\u6570\u636e\u4f60\u4f1a\u53d1\u73b0\uff0c\u5982\u679c\u6839\u636e <strong style=\"color: rgb(228, 105, 24);\">\u5317\u4e0a\u8d44\u91d1=0<\/strong> \u8fd9\u4e2a\u6761\u4ef6\u53bb\u7b5b\u9009\uff0c\u90a3\u6070\u597d\u67d0\u4e00\u5929\u7684\u4e70\u5165\u5356\u51fa\u521a\u597d\u76f8\u7b49\uff0c\u8fd9\u79cd\u60c5\u51b5\u4e5f\u4f1a\u88ab\u8fc7\u6ee4\u6389\uff0c\u8fd9\u660e\u663e\u662f\u4e0d\u5408\u7406\u7684\u3002<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u89e3\u51b3\u65b9\u6cd5\uff1a\u6839\u636e <strong style=\"color: rgb(228, 105, 24);\">df_data[&#8216;\u6caa\u80a1\u901a&#8217;].isna()<\/strong> \u5b57\u6bb5\u662f\u5426\u4e3a\u7a7a\u8fdb\u884c\u5224\u65ad\uff0c\u4ee3\u7801\u5982\u4e0b\uff1a<\/span><\/p>\n<pre style=\"box-shadow: rgba(170, 170, 170, 0.48) 0px 0px 6px 0px;border-radius: 4px;margin: 1px 6px;\"><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;font-size: 12px;-webkit-overflow-scrolling: touch;padding-top: 15px;background: #282c34;border-radius: 5px;\"><span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">#&nbsp;\u5254\u9664\u5317\u4e0a\u6682\u505c\u4ea4\u6613\u7684\u4ea4\u6613\u65e5<\/span>\ndf_data2&nbsp;=&nbsp;df_data.loc[~df_data[<span style=\"color: #98c379;line-height: 26px;\">'\u6caa\u80a1\u901a'<\/span>].isna(),&nbsp;:].reset_index(drop=<span style=\"color: #56b6c2;line-height: 26px;\">True<\/span>)\n<\/code><\/pre>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u6570\u636e\u5904\u7406\u5b8c\u6bd5\u4e4b\u540e\uff0c\u5bf9\u5e94\u7684\u6570\u636e\u5e94\u8be5\u662f\u8fd9\u4e2a\u6837\u5b50\u7684\uff1a<\/span><\/p>\n<p style=\"text-align: center;padding: 0px 0.5em;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" style=\"box-shadow: rgb(210, 210, 210) 0em 0em 0.5em 0px;font-size: 17px;border-radius: 6px;\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2021\/09\/10-1631356676-1.png\" alt=\"\u5f3a\u65e0\u654c\uff0c\u7528 Python \u590d\u73b0\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\" title=\"\u5f3a\u65e0\u654c\uff0c\u7528 Python \u590d\u73b0\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\"><\/p>\n<h5 style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;\"><span style=\"border-left: 3px solid rgb(228, 105, 24);color: rgb(81, 81, 81);padding-left: 10px;margin-left: 6px;font-size: 17px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">5. \u6838\u5fc3\u7b56\u7565\u5b9e\u73b0<\/span><\/h5>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u518d\u6765\u56de\u987e\u4e00\u4e0b\u7b56\u7565\u7684\u5185\u5bb9\uff1a<\/span><\/p>\n<p style=\"text-align: center;padding: 0px 0.5em;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" style=\"box-shadow: rgb(210, 210, 210) 0em 0em 0.5em 0px;font-size: 17px;border-radius: 6px;\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2021\/09\/0-1631356677.png\" alt=\"\u5f3a\u65e0\u654c\uff0c\u7528 Python \u590d\u73b0\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\" title=\"\u5f3a\u65e0\u654c\uff0c\u7528 Python \u590d\u73b0\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\"><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u5bf9\u4e86\uff0c\u56fe\u4e2d\u7684 252 \u8868\u793a\u5927A\u4e00\u5e74\u4e2d\u7684\u4ea4\u6613\u65e5\uff0c\u4f60\u6ca1\u770b\u9519\uff0c\u5c31\u8fd9\u4e48\u591a<br \/>\n<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u800c 1.5 \u500d\u6807\u51c6\u5dee\u5219\u662f\u7814\u62a5\u4e2d\u89c4\u5b9a\u7684\uff0c\u81f3\u4e8e\u4e3a\u4ec0\u4e48\u9009\u8fd9\u4e2a\u6570\u800c\u4e0d\u662f\u5176\u4ed6 1\u500d\u30012\u500d\u5462\uff1f<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u7814\u62a5\u4e2d\u4e5f\u6709\u89e3\u91ca\u539f\u56e0\uff1a\u5176\u4e2d\u4e00\u5171\u9009\u53d6\u4e8610\u7ec4\u4e0d\u540c\u7684\u4e0a\u4e0b\u9650\u6807\u6ce8\u5dee\uff0c\u5e76\u4e14\u5206\u522b\u8fdb\u884c\u4e86\u56de\u6d4b\uff0c\u6700\u7ec8 <strong style=\"color: rgb(228, 105, 24);\">\u4e0a\u9650+1.5 \u4e0b\u9650-1.5<\/strong> \u7684\u5e74\u5316\u6536\u76ca\u7387\u6700\u9ad8\uff0c\u8fbe\u5230\u4e86 37.54%<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">ok\uff0c\u65e2\u7136\u4eba\u5bb6\u5df2\u7ecf\u90fd\u505a\u8fc7\u4e86\u5145\u5206\u7684\u56de\u6d4b\uff0c\u90a3\u6211\u4eec\u5c31\u76f4\u63a5\u5b9e\u73b0\u62ff\u6765\u7528\u5c31\u597d<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u6838\u5fc3\u4ee3\u7801\u5982\u4e0b\uff1a<\/span><\/p>\n<pre style=\"box-shadow: rgba(170, 170, 170, 0.48) 0px 0px 6px 0px;border-radius: 4px;margin: 1px 6px;\"><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;font-size: 12px;-webkit-overflow-scrolling: touch;padding-top: 15px;background: #282c34;border-radius: 5px;\"><span style=\"color: #98c379;line-height: 26px;\">\"\"\"\u904d\u5386\u6bcf\u4e00\u4e2a\u4ea4\u6613\u65e5\uff0c\u5bf9\u5317\u4e0a\u8fdb\u884c\u5206\u6790\"\"\"<\/span>\nsignal&nbsp;=&nbsp;<span style=\"color: #98c379;line-height: 26px;\">'\u65e0\u4fe1\u53f7'<\/span>\n<span style=\"color: #c678dd;line-height: 26px;\">for<\/span>&nbsp;index,&nbsp;row&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">in<\/span>&nbsp;df_data2.iterrows():\n&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">if<\/span>&nbsp;index&lt;<span style=\"color: #d19a66;line-height: 26px;\">252<\/span>:\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">continue<\/span>\n&nbsp;&nbsp;&nbsp;&nbsp;df_data_temp&nbsp;=&nbsp;df_data2.iloc[index<span style=\"color: #d19a66;line-height: 26px;\">-252<\/span>:index]\n&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">#&nbsp;\u8ba1\u7b97\u8fd1&nbsp;252&nbsp;\u5929\u7684\u5e73\u5747\u6570\u548c\u6807\u51c6\u5dee<\/span>\n&nbsp;&nbsp;&nbsp;&nbsp;average&nbsp;=&nbsp;df_data_temp[<span style=\"color: #98c379;line-height: 26px;\">'\u5317\u5411\u8d44\u91d1'<\/span>].sum()\/<span style=\"color: #d19a66;line-height: 26px;\">252<\/span>\n&nbsp;&nbsp;&nbsp;&nbsp;std&nbsp;=&nbsp;df_data_temp[<span style=\"color: #98c379;line-height: 26px;\">'\u5317\u5411\u8d44\u91d1'<\/span>].std()\n&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">#&nbsp;\u8ba1\u7b97\u4e0a\u4e0b\u9650<\/span>\n&nbsp;&nbsp;&nbsp;&nbsp;up_line&nbsp;=&nbsp;float(format(average&nbsp;+&nbsp;std&nbsp;*&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">1.5<\/span>,&nbsp;<span style=\"color: #98c379;line-height: 26px;\">'.4f'<\/span>))\n&nbsp;&nbsp;&nbsp;&nbsp;down_line&nbsp;=&nbsp;float(format(average&nbsp;-&nbsp;std&nbsp;*&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">1.5<\/span>,&nbsp;<span style=\"color: #98c379;line-height: 26px;\">'.4f'<\/span>))\n<\/code><\/pre>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u4ee5\u4e0a\u5206\u522b\u662f\u8ba1\u7b97\u51fa\u5f53\u5929\uff08\u4ece\u6570\u636e\u5f00\u59cb\u4ea4\u6613\u65e5\u7684\u7b2c252\u5929\u8d77\uff09\u4ee5\u524d 252 \u5929\u7684\u5e73\u5747\u503c\u3001\u6807\u51c6\u5dee\u3001\u4e0a\u9650\u548c\u4e0b\u9650<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u5269\u4e0b\u7684\u5c31\u662f\u5bf9\u7ed3\u679c\u8fdb\u884c\u5224\u65ad\u548c\u8f93\u51fa\u5c31ok\uff0c\u4ee3\u7801\u5982\u4e0b\uff1a<\/span><\/p>\n<pre style=\"box-shadow: rgba(170, 170, 170, 0.48) 0px 0px 6px 0px;border-radius: 4px;margin: 1px 6px;\"><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;font-size: 12px;-webkit-overflow-scrolling: touch;padding-top: 15px;background: #282c34;border-radius: 5px;\"><span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">#&nbsp;\u5224\u65ad\u5e76\u8f93\u51fa<\/span>\n<span style=\"color: #c678dd;line-height: 26px;\">if<\/span>&nbsp;row[<span style=\"color: #98c379;line-height: 26px;\">'\u5317\u5411\u8d44\u91d1'<\/span>]&nbsp;&gt;=&nbsp;up_line:\n&nbsp;signal&nbsp;=&nbsp;<span style=\"color: #98c379;line-height: 26px;\">'\u770b\u591a'<\/span>\n&nbsp;print(<span style=\"color: #98c379;line-height: 26px;\">'{0}:&lt;{1}&gt;&nbsp;\u5317\u4e0a\u51c0\u4e70\u5165:{2}\u4ebf\u5143\uff0c\u770b\u591a\u7ebf:{3}\u4ebf\u5143,&nbsp;\u770b\u7a7a\u7ebf:{4}\u4ebf\u5143'<\/span>.format(row[<span style=\"color: #98c379;line-height: 26px;\">'trade_date'<\/span>],&nbsp;signal,&nbsp;format(row[<span style=\"color: #98c379;line-height: 26px;\">'\u5317\u5411\u8d44\u91d1'<\/span>],&nbsp;<span style=\"color: #98c379;line-height: 26px;\">'.4f'<\/span>),&nbsp;up_line,&nbsp;down_line))\n<span style=\"color: #c678dd;line-height: 26px;\">elif<\/span>&nbsp;row[<span style=\"color: #98c379;line-height: 26px;\">'\u5317\u5411\u8d44\u91d1'<\/span>]&nbsp;&lt;=&nbsp;down_line:\n&nbsp;signal&nbsp;=&nbsp;<span style=\"color: #98c379;line-height: 26px;\">'\u770b\u7a7a'<\/span>\n&nbsp;print(<span style=\"color: #98c379;line-height: 26px;\">'{0}:&lt;{1}&gt;&nbsp;\u5317\u4e0a\u51c0\u4e70\u5165:{2}\u4ebf\u5143\uff0c\u770b\u591a\u7ebf:{3}\u4ebf\u5143,&nbsp;\u770b\u7a7a\u7ebf:{4}\u4ebf\u5143'<\/span>.format(row[<span style=\"color: #98c379;line-height: 26px;\">'trade_date'<\/span>],&nbsp;signal,&nbsp;format(row[<span style=\"color: #98c379;line-height: 26px;\">'\u5317\u5411\u8d44\u91d1'<\/span>],&nbsp;<span style=\"color: #98c379;line-height: 26px;\">'.4f'<\/span>),&nbsp;up_line,&nbsp;down_line))\n\n<span style=\"color: #c678dd;line-height: 26px;\">if<\/span>&nbsp;index&nbsp;==&nbsp;df_data2.shape[<span style=\"color: #d19a66;line-height: 26px;\">0<\/span>]<span style=\"color: #d19a66;line-height: 26px;\">-1<\/span>:\n&nbsp;print(<span style=\"color: #98c379;line-height: 26px;\">'n\u6700\u65b0\u6570\u636en{0}:&nbsp;&lt;{1}&gt;&nbsp;n\u5317\u4e0a\u51c0\u4e70\u5165:{2}\u4ebf\u5143\uff0c\u770b\u591a\u7ebf:{3}\u4ebf\u5143,&nbsp;\u770b\u7a7a\u7ebf:{4}\u4ebf\u5143n'<\/span>.format(row[<span style=\"color: #98c379;line-height: 26px;\">'trade_date'<\/span>],&nbsp;signal,&nbsp;format(row[<span style=\"color: #98c379;line-height: 26px;\">'\u5317\u5411\u8d44\u91d1'<\/span>],&nbsp;<span style=\"color: #98c379;line-height: 26px;\">'.4f'<\/span>),&nbsp;up_line,&nbsp;down_line))\n<\/code><\/pre>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u622a\u53d6\u4e86\u8f93\u51fa\u7ed3\u679c\u7684\u4eca\u5e74\u7684\u90e8\u5206\uff0c\u5982\u4e0b\u56fe\uff1a<\/span><\/p>\n<p style=\"text-align: center;padding: 0px 0.5em;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" style=\"box-shadow: rgb(210, 210, 210) 0em 0em 0.5em 0px;font-size: 17px;border-radius: 3px;\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2021\/09\/4-1631356677.png\" alt=\"\u5f3a\u65e0\u654c\uff0c\u7528 Python \u590d\u73b0\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\" title=\"\u5f3a\u65e0\u654c\uff0c\u7528 Python \u590d\u73b0\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\"><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u53ef\u4ee5\u770b\u5230\uff0c\u622a\u6b62\u5230\u76ee\u524d\uff088\u670830\u65e5\u6536\u76d8\uff09\uff0c\u7b56\u7565\u7ed9\u51fa\u7684\u89c2\u70b9\u662f\u770b\u7a7a\uff0c\u5e76\u4e14\u662f\u4ece 7\u670826\u65e5 \u8d77\u5c31\u4e00\u76f4\u770b\u7a7a\u4e86\uff0c\u76f4\u5230\u4eca\u5929\u4e5f\u662f\u770b\u7a7a\u9636\u6bb5\u3002<br \/>\n<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u53bb\u5238\u5546\u7f51\u7ad9\u4e0a\u770b\u4e00\u4e0b\u5317\u4e0a\u8d44\u91d1\u7684\u5386\u53f2\u6570\u636e\uff0c\u56fe\u662f\u8fd9\u6837\u7684\uff1a<\/span><\/p>\n<p style=\"text-align: center;padding: 0px 0.5em;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" style=\"box-shadow: rgb(210, 210, 210) 0em 0em 0.5em 0px;font-size: 17px;border-radius: 3px;\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2021\/09\/3-1631356677.png\" alt=\"\u5f3a\u65e0\u654c\uff0c\u7528 Python \u590d\u73b0\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\" title=\"\u5f3a\u65e0\u654c\uff0c\u7528 Python \u590d\u73b0\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\"><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u4ece7\u670826\u53f7\u4e4b\u540e\u7684\uff08\u56fe\u4e2d\u7684\u7ea2\u7bad\u5934\uff09\u8be5\u7b56\u7565\u7ed9\u51fa\u7684\u89c2\u70b9\u5c31\u662f\u770b\u7a7a\uff0c\u4f46\u662f\u4f60\u4ed4\u7ec6\u770b\u4e00\u4e0b\u7814\u62a5\u7ed9\u7684\u7b56\u7565\u6761\u4ef6\u662f\uff0c\u4eba\u5bb6\u8bf4\u7684\u662f\uff1a<strong style=\"color: rgb(228, 105, 24);\">\u8be5\u65e5\u5317\u5411\u8d44\u91d1\u6d41\u5165\u89c4\u6a21<\/strong>\uff0c\u800c\u6211\u4eec\u901a\u8fc7 tushare \u83b7\u53d6\u5230\u7684\u662f\uff1a<strong style=\"color: rgb(228, 105, 24);\">\u5317\u5411\u8d44\u91d1\u7684\u51c0\u4e70\u5165\u91d1\u989d<\/strong><br \/>\n<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u56e0\u4e3a\u6bcf\u65e5\u7684\u51c0\u6d41\u5165\u8f83\u51c0\u4e70\u5165\u5927\u5f88\u591a\uff0c\u6240\u4ee5\u5bf9\u5e94\u7684 1.5\u500d\u6807\u51c6\u5dee\u5c31\u9700\u8981\u76f8\u5e94\u7684\u6539\u52a8\u4e00\u4e0b\u3002<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u6bd4\u5982\u8bf4\uff0c\u5f53\u4f60\u6539\u6210 <strong style=\"color: rgb(228, 105, 24);\">\u4e0a\u9650+0.8 \u4e0b\u9650-0.8<\/strong>\uff0c\u5b83\u5bf9\u5e94\u7684\u7b56\u7565\u662f\u8fd9\u6837\u7684\uff1a<\/span><\/p>\n<p style=\"text-align: center;padding: 0px 0.5em;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" style=\"box-shadow: rgb(210, 210, 210) 0em 0em 0.5em 0px;font-size: 17px;border-radius: 3px;\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2021\/09\/9-1631356677.png\" alt=\"\u5f3a\u65e0\u654c\uff0c\u7528 Python \u590d\u73b0\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\" title=\"\u5f3a\u65e0\u654c\uff0c\u7528 Python \u590d\u73b0\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\"><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u5f53\u7136\u4e86\uff0c\u8fd9\u91cc\u7684 0.8 \u5176\u5b9e\u662f\u6211\u81ea\u5df1\u4e71\u6539\u7684\uff0c\u5e76\u6ca1\u6709\u7ecf\u8fc7\u56de\u6d4b\u9a8c\u8bc1\uff0c\u5728\u8fd9\u53ea\u662f\u4e3a\u4e86\u8bf4\u660e\u5bf9\u5e94\u7684\u6570\u636e\u4e0d\u540c\uff0c\u53c2\u6570\u4e5f\u8981\u6709\u6240\u8c03\u6574\u3002<br \/>\n<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u611f\u5174\u8da3\u7684\u8bdd\u5927\u5bb6\u53ef\u4ee5\u53bb\u56de\u6d4b\u4e00\u4e0b\u51c0\u4e70\u5165\u91d1\u989d\u5bf9\u5e94\u7684\u4e0d\u540c\u53c2\u6570\u7684\u6536\u76ca\u7ed3\u679c\uff0c\u9009\u4e00\u4e2a\u6700\u5927\u7684\u7ed3\u679c\u5bf9\u5e94\u7684\u53c2\u6570\uff0c\u7136\u540e\u5c31\u53ef\u4ee5\u5f00\u542f\u8f7b\u677e\u7684\u5b9a\u6295\u6a21\u5f0f\u4e86\u3002<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u5176\u5b9e\uff0c\u6211\u662f\u6709\u56de\u6d4b\u51fa\u6700\u4f18\u53c2\u6570\u7684\uff0c\u4f46\u662f\u62c5\u5fc3\u4f60\u4eec\u7528\u6211\u7684\u53c2\u6570\u5230\u65f6\u5019\u4e8f\u94b1\u4e86\u8f93\u4e0d\u8d77\uff0c\u76ee\u524d\u8fd8\u662f\u4e0d\u516c\u5f00\u51fa\u6765\u4e86\u3002<\/span><\/p>\n<p style=\"padding-top: 8px;padding-bottom: 8px;color: rgb(79, 79, 79);margin: 3px 6px;letter-spacing: 0px;line-height: 29px;\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u5efa\u8bae\u81ea\u5df1\u591a\u8bd5\u8bd5\uff0c\u6295\u8d44\u672c\u5c31\u6ca1\u6709\u4e0d\u52b3\u800c\u83b7\u7684\u4e1c\u897f\uff01\u6216\u8bb8\u4f60\u7684\u53c2\u6570\u6536\u76ca\u4f1a\u6bd4\u6211\u66f4\u4f18\u5462\uff01<\/span><\/p>\n<section style=\"padding: 8px;outline: 0px;font-size: 16px;color: black;line-height: 1.6;letter-spacing: 0px;font-family: mp-quote, apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;word-break: break-all;\">\n<section mpa-from-tpl=\"t\" style=\"outline: 0px;\">\n<section mpa-from-tpl=\"t\" style=\"outline: 0px;\">\n<section mpa-from-tpl=\"t\" style=\"outline: 0px;\">\n<section mpa-from-tpl=\"t\" style=\"outline: 0px;\">\n<p style=\"outline: 0px;line-height: 2em;\"><span style=\"font-size: 16px;color: rgb(40, 40, 40);\"><strong style=\"outline: 0px;font-family: -apple-system, system-ui, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;text-align: left;letter-spacing: 0.5px;\">\u63a8\u8350\u9605\u8bfb<\/strong><\/span><\/p>\n<p style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;line-height: 2em;\"><span style=\"font-size: 16px;\"><em style=\"outline: 0px;\"><span style=\"outline: 0px;color: rgb(0, 0, 0);\">1.&nbsp;<\/span><\/em>pandas100\u4e2a\u9a9a\u64cd\u4f5c<\/span><\/p>\n<p style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;line-height: 2em;\"><span style=\"outline: 0px;font-family: -apple-system, system-ui, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;text-align: left;color: rgb(160, 160, 160);font-size: 16px;\"><em style=\"outline: 0px;\"><span style=\"font-family: -apple-system, system-ui, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;text-align: left;outline: 0px;color: rgb(0, 0, 0);\">2.&nbsp;<\/span><\/em><\/span><span style=\"font-size: 16px;\">\u673a\u5668\u5b66\u4e60\u539f\u521b\u7cfb\u5217<\/span><\/p>\n<p style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;line-height: 2em;\"><span style=\"outline: 0px;font-family: -apple-system, system-ui, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;text-align: left;color: rgb(160, 160, 160);font-size: 16px;\"><em style=\"outline: 0px;\"><span style=\"font-family: -apple-system, system-ui, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;text-align: left;outline: 0px;color: rgb(0, 0, 0);\">3.&nbsp;<\/span><\/em><\/span><span style=\"outline: 0px;font-size: 16px;\">\u6570\u636e\u79d1\u5b66\u5e72\u8d27\u4e0b\u8f7d<\/span><\/p>\n<section style=\"margin-top: 15px;margin-bottom: 15px;outline: 0px;line-height: 1.75em;\"><span style=\"font-size: 16px;\"><span style=\"outline: 0px;text-align: left;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 1px;widows: 1;caret-color: rgb(255, 0, 0);color: rgba(0, 0, 0, 0.85);word-spacing: 2px;\">\u6700\u540e\u7ed9\u5927\u5bb6<\/span><strong style=\"outline: 0px;text-align: left;font-size: 15px;word-spacing: 0.8px;color: rgb(53, 53, 53);font-family: &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;letter-spacing: 0.8px;widows: 1;caret-color: rgb(255, 0, 0);\"><span style=\"outline: 0px;word-spacing: 2px;color: rgb(255, 104, 39);\">\u5206\u4eab\u300a10\u672c\u6570\u636e\u6316\u6398\u7535\u5b50\u4e66\u300b<\/span><\/strong><span style=\"outline: 0px;text-align: left;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 1px;widows: 1;caret-color: rgb(255, 0, 0);word-spacing: 2px;color: rgb(255, 104, 39);\">\uff0c\u5305\u62ec\u6570\u636e\u5206\u6790\u3001\u7edf\u8ba1\u5b66\u3001\u6570\u636e\u6316\u6398\u3001\u673a\u5668\u5b66\u4e60\u3002<\/span><\/span><\/section>\n<section style=\"margin-top: 15px;margin-bottom: 15px;outline: 0px;line-height: 1.75em;\"><span style=\"outline: 0px;text-align: left;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;caret-color: rgb(51, 51, 51);font-size: 15px;letter-spacing: 1px;word-spacing: 0.8px;\">\u73b0\u5728\u514d\u8d39\u5206\u4eab\u51fa\u6765\uff0c\u6709\u9700\u8981\u7684\u8bfb\u8005\u53ef\u4ee5\u4e0b\u8f7d\u5b66\u4e60\uff0c\u5728\u4e0b\u9762\u7684\u516c\u4f17\u53f7\u300c<strong style=\"outline: 0px;\">\u6570\u636e\u6316\u6398\u5de5\u7a0b\u5e08<\/strong>\u300d\u91cc\u56de\u590d\u5173\u952e\u5b57\uff1a<\/span><span style=\"outline: 0px;text-align: left;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;caret-color: rgb(51, 51, 51);font-size: 15px;word-spacing: 0.8px;letter-spacing: 2px;color: rgb(255, 104, 39);\"><strong style=\"outline: 0px;\">\u6570\u636e\u6316\u6398<\/strong><\/span><span style=\"outline: 0px;text-align: left;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;caret-color: rgb(51, 51, 51);font-size: 15px;letter-spacing: 1px;word-spacing: 0.8px;\">\uff0c\u5c31\u884c\u3002<\/span><\/section>\n<section class=\"mp_profile_iframe_wrp\"><mpprofile class=\"js_uneditable custom_select_card mp_profile_iframe\"><\/mpprofile><\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u5927\u5bb6\u597d\uff0c\u6211\u662f\u5e05\u4e1c\u54e5\u3002 \u6700\u8fd1\u81ea\u5df1\u4e00\u76f4\u5728\u5b66\u4e60\u7406\u8d22\u76f8\u5173\u7684\u4e1c\u897f\uff0c\u6240\u4ee5\u540e\u9762\u4e00\u6bb5\u65f6\u95f4\uff0c\u53ef\u80fd\u4f1a\u591a\u5206\u4eab\u4e00\u4e9b\u8fd9\u65b9\u9762\u7684\u5b66\u4e60\u7b14\u8bb0 \u5176 &hellip; <a href=\"http:\/\/www.zhushiyao.com\/?p=87877\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201c\u5f3a\u65e0\u654c\uff0c\u7528 Python \u590d\u73b0\u57fa\u4e8e\u5317\u5411\u8d44\u91d1\u7684\u62e9\u65f6\u7b56\u7565\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[8,185,281],"_links":{"self":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts\/87877"}],"collection":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=87877"}],"version-history":[{"count":2,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts\/87877\/revisions"}],"predecessor-version":[{"id":87892,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts\/87877\/revisions\/87892"}],"wp:attachment":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=87877"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=87877"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=87877"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}