{"id":6450,"date":"2021-06-05T05:21:00","date_gmt":"2021-06-04T21:21:00","guid":{"rendered":"https:\/\/vip.fxxkpython.com\/?p=6450"},"modified":"2021-06-07T05:37:40","modified_gmt":"2021-06-06T21:37:40","slug":"%e4%bd%bf%e7%94%a8-python-%e4%bb%8e-0-%e5%bc%80%e5%8f%91%e5%b1%9e%e4%ba%8e%e4%bd%a0%e7%9a%84%e4%b8%aa%e4%ba%ba%e7%ae%a1%e7%90%86%e7%b3%bb%e7%bb%9f-14-%e7%af%87-%ef%bd%9c-%e4%b8%aa%e4%ba%ba%e8%ae%a1","status":"publish","type":"post","link":"https:\/\/vip.fxxkpython.com\/?p=6450","title":{"rendered":"\u4f7f\u7528 Python \u4ece 0 \u5f00\u53d1\u5c5e\u4e8e\u4f60\u7684\u4e2a\u4eba\u7ba1\u7406\u7cfb\u7edf 14 \u7bc7 \uff5c \u4e2a\u4eba\u8ba1\u5212\u529f\u80fd\u4e4b\u524d\u7aef\u7684\u5b9e\u73b0"},"content":{"rendered":"\n<p>\u73b0\u5728\uff0c\u6211\u4eec\u5df2\u7ecf\u5b8c\u6210\u4e86\u767b\u5f55\u7684\u529f\u80fd\uff0c\u5c3d\u7ba1\u8fd8\u6709\u4e9b\u9700\u8981\u6211\u4eec\u540e\u7eed\u4f18\u5316\u7684\u5730\u65b9\uff0c\u4e0d\u8fc7\u6ca1\u5173\u7cfb\uff0c\u6211\u4eec\u53ef\u4ee5\u5148\u628a\u4e3b\u8981\u529f\u80fd\u641e\u8d77\u6765\uff0c\u63a5\u4e0b\u6765\u6211\u4eec\u5f00\u59cb\u6765\u5f00\u53d1\u3010\u4e2a\u4eba\u8ba1\u5212\u3011\u7684\u529f\u80fd\u6a21\u5757\uff0c\u8fd8\u8bb0\u5f97\u6211\u4e4b\u524d\u5206\u4eab\u7684<a href=\"https:\/\/vip.fxxkpython.com\/?p=91\">\u4e2a\u4eba\u8ba1\u5212\u4f7f\u7528\u65b9\u6cd5\u4e48<\/a>\uff0c\u4f60\u5b8c\u5168\u53ef\u4ee5\u628a\u5b83\u5f00\u53d1\u51fa\u6765\uff0c\u5728\u4f60\u7684\u7cfb\u7edf\u4e2d\u4e3a\u4f60\u6240\u7528\u3002<\/p>\n\n\n\n<p>\u5728\u5f00\u53d1\u529f\u80fd\u4e4b\u524d\uff0c\u4e00\u822c\u6211\u4eec\u9700\u8981\u753b\u539f\u578b\uff0c\u4f46\u6211\u4eec\u4e0d\u662f\u6709\u4e86 HTML \u6a21\u677f\u6587\u4ef6\u4e86\u561b\uff0c\u6211\u4eec\u53ef\u4ee5\u76f4\u63a5\u628a\u524d\u7aef\u7684\u9875\u9762\u89c4\u5212\u597d\uff0c\u8fd9\u6837\u5f80\u540e\u5c31\u4f1a\u5f88\u6e05\u6670\u4f60\u8981\u5b9e\u73b0\u4ec0\u4e48\u6837\u7684\u529f\u80fd\uff0c\u6bd4\u5982\u5982\u4f55\u521b\u5efa\u6570\u636e\u6a21\u5757\uff0c\u540e\u7aef\u7684\u529f\u80fd\u5b9e\u73b0\u7b49\u3002<\/p>\n\n\n\n<h2>\u6a21\u677f\u6587\u4ef6\u7684\u63d0\u53d6<\/h2>\n\n\n\n<p>\u6211\u4eec\u53ef\u4ee5\u628a HTML \u90a3\u4e9b\u516c\u7528\u7684\u90e8\u5206\u63d0\u53d6\u51fa\u6765\uff0c\u6bd4\u5982 header \u9700\u8981\u5f15\u7528\u7684\u90e8\u5206\uff0c\u4ee5\u53ca js \u7684\u5f15\u7528\uff0c\u83dc\u5355\u680f\u8fd9\u4e9b\u90fd\u662f\u5927\u90e8\u5206\u9875\u9762\u90fd\u9700\u8981\u7528\u5230\u7684\uff0c\u8fd8\u8bb0\u5f97 include \u4e48\uff1f<\/p>\n\n\n\n<p>\u521b\u5efa header.html\uff0c \u5c06\u5171\u7528\u90e8\u5206\u63d0\u53d6\u51fa\u6765\uff1a<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;python&quot;,&quot;mime&quot;:&quot;text\/x-python&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;wpum_restrict_type&quot;:&quot;wpum_restrict_type_state&quot;,&quot;wpum_hide_state_in&quot;:false,&quot;wpum_hide_state_out&quot;:false,&quot;language&quot;:&quot;Python&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;python&quot;}\">&lt;head&gt;\n\n    &lt;meta charset=&quot;utf-8&quot;&gt;\n    &lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge&quot;&gt;\n    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1, shrink-to-fit=no&quot;&gt;\n    &lt;meta name=&quot;description&quot; content=&quot;&quot;&gt;\n    &lt;meta name=&quot;author&quot; content=&quot;&quot;&gt;\n\n    &lt;title&gt;{{ title }}&lt;\/title&gt;\n\n    &lt;!-- Custom fonts for this template--&gt;\n    &lt;link href=&quot;{{ url_for('static', filename='vendor\/fontawesome-free\/css\/all.min.css') }}&quot; rel=&quot;stylesheet&quot; type=&quot;text\/css&quot;&gt;\n    &lt;link\n        href=&quot;https:\/\/fonts.googleapis.com\/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i&quot;\n        rel=&quot;stylesheet&quot;&gt;\n\n    &lt;!-- Custom styles for this template--&gt;\n    &lt;link href=&quot;{{ url_for('static', filename='css\/sb-admin-2.min.css') }}&quot; rel=&quot;stylesheet&quot;&gt;\n\n&lt;\/head&gt;<\/pre><\/div>\n\n\n\n<p>\u521b\u5efa footer.html \uff0c\u5c06\u5e95\u90e8\u5171\u7528\u90e8\u5206\u63d0\u53d6\u51fa\u6765\uff1a<div style=\"text-align:center;border:1px dashed #FF9A9A;padding:8px;margin:10px auto;color:#FF6666;\">\u672c\u6587\u9690\u85cf\u5185\u5bb9 <a href=\"https:\/\/vip.fxxkpython.com\/wp-login.php?redirect_to=https%3A%2F%2Fvip.fxxkpython.com%2F%3Fp%3D6450\">\u767b\u9646<\/a> \u540e\u624d\u53ef\u4ee5\u6d4f\u89c8<\/div>\u50cf\u8fd9\u6837\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"107\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/06\/\u622a\u5c4f2021-06-07-\u4e0a\u53485.14.52-1024x107.png\" alt=\"\" class=\"wp-image-6454\" srcset=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/06\/\u622a\u5c4f2021-06-07-\u4e0a\u53485.14.52-1024x107.png 1024w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/06\/\u622a\u5c4f2021-06-07-\u4e0a\u53485.14.52-300x31.png 300w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/06\/\u622a\u5c4f2021-06-07-\u4e0a\u53485.14.52-768x80.png 768w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/06\/\u622a\u5c4f2021-06-07-\u4e0a\u53485.14.52-1536x161.png 1536w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/06\/\u622a\u5c4f2021-06-07-\u4e0a\u53485.14.52-2048x215.png 2048w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/06\/\u622a\u5c4f2021-06-07-\u4e0a\u53485.14.52-769x81.png 769w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u800c\u521b\u5efa\u51fa\u963f\u91cc\u7684\u4efb\u52a1\u5217\u8868\u5185\u5bb9\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u5230 card \u7684\u6837\u5f0f\uff1a<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;python&quot;,&quot;mime&quot;:&quot;text\/x-python&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;wpum_restrict_type&quot;:&quot;wpum_restrict_type_state&quot;,&quot;wpum_hide_state_in&quot;:false,&quot;wpum_hide_state_out&quot;:false,&quot;language&quot;:&quot;Python&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;python&quot;}\">&lt;div class=&quot;col-xl-8 mx-auto mb-3&quot;&gt;\n            &lt;div class=&quot;card border-left-primary shadow h-100 py-2&quot;&gt;\n                &lt;div class=&quot;card-body&quot;&gt;\n                    &lt;div class=&quot;row no-gutters align-items-center&quot;&gt;\n                        &lt;div class=&quot;col&quot;&gt;\n                            &lt;div class=&quot;h5 mb-0 font-weight-bold text-gray-800&quot;&gt;\u8bfb\u4e00\u7bc7\u6587\u7ae0&lt;\/div&gt;\n                        &lt;\/div&gt;\n                        &lt;div class=&quot;col-auto&quot;&gt;\n                            &lt;input type=&quot;checkbox&quot; class=&quot;btn-check&quot; id=&quot;btn-check-outlined&quot; autocomplete=&quot;off&quot;&gt;\n                        &lt;\/div&gt;\n                    &lt;\/div&gt;\n                &lt;\/div&gt;\n            &lt;\/div&gt;\n&lt;\/div&gt;<\/pre><\/div>\n\n\n\n<p>\u8fd9\u91cc\u7684\u5361\u7247\u5185\u5bb9\uff0c\u6211\u4eec\u5230\u65f6\u5019\u53ef\u4ee5\u6839\u636e\u4efb\u52a1\u7684\u6570\u91cf\u8fdb\u884c\u5faa\u73af\u5c55\u793a\u3002<\/p>\n\n\n\n<p>\u73b0\u5728\u6548\u679c\u662f\u8fd9\u6837\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"625\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/06\/\u622a\u5c4f2021-06-07-\u4e0a\u53485.18.32-1024x625.png\" alt=\"\" class=\"wp-image-6458\" srcset=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/06\/\u622a\u5c4f2021-06-07-\u4e0a\u53485.18.32-1024x625.png 1024w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/06\/\u622a\u5c4f2021-06-07-\u4e0a\u53485.18.32-300x183.png 300w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/06\/\u622a\u5c4f2021-06-07-\u4e0a\u53485.18.32-768x469.png 768w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/06\/\u622a\u5c4f2021-06-07-\u4e0a\u53485.18.32-1536x938.png 1536w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/06\/\u622a\u5c4f2021-06-07-\u4e0a\u53485.18.32-2048x1250.png 2048w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2021\/06\/\u622a\u5c4f2021-06-07-\u4e0a\u53485.18.32-769x469.png 769w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>OK\uff0c\u73b0\u5728\u4f60\u7684\u524d\u7aef\u6837\u5f0f\u5927\u6982\u6837\u5b50\u5c31\u6574\u51fa\u6765\u4e86\u3002<\/p>\n\n\n\n<p>\u8bf7\u601d\u8003\uff0c\u521b\u5efa\u4efb\u52a1\uff0c\u8f93\u5165\u5185\u5bb9\uff0c\u6309\u4e0b\u56de\u8f66\u4e4b\u540e\uff0c\u4efb\u52a1\u600e\u4e48\u521b\u5efa\u5230\u6570\u636e\u5e93\u4e2d\uff1f\u70b9\u51fb\u6bcf\u4e2a item \u7684 checkbox\uff0c\u8868\u793a\u5b8c\u6210\uff0c\u5982\u4f55\u4fee\u6539\u72b6\u6001\u5462\uff1f\u53c8\u5982\u4f55\u5c55\u793a\u67e5\u8be2\u7ed3\u679c\u5462\uff1f<\/p>\n\n\n\n<p>\u6211\u4eec\u4e0b\u7bc7\u89c1\uff0cpeace\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u73b0\u5728\uff0c\u6211\u4eec\u5df2\u7ecf\u5b8c\u6210\u4e86\u767b\u5f55\u7684\u529f\u80fd\uff0c\u5c3d\u7ba1\u8fd8\u6709\u4e9b\u9700\u8981\u6211\u4eec\u540e\u7eed\u4f18\u5316\u7684\u5730\u65b9\uff0c\u4e0d\u8fc7\u6ca1\u5173\u7cfb\uff0c\u6211\u4eec\u53ef\u4ee5\u5148\u628a\u4e3b\u8981\u529f\u80fd\u641e\u8d77\u6765\uff0c\u63a5\u4e0b\u6765\u6211\u4eec\u5f00\u59cb\u6765\u5f00\u53d1\u3010\u4e2a\u4eba\u8ba1\u5212\u3011\u7684\u529f\u80fd\u6a21\u5757\uff0c\u8fd8\u8bb0\u5f97\u6211\u4e4b\u524d\u5206\u4eab\u7684\u4e2a\u4eba\u8ba1\u5212\u4f7f\u7528\u65b9\u6cd5\u4e48\uff0c\u4f60\u5b8c\u5168\u53ef\u4ee5\u628a\u5b83\u5f00\u53d1\u51fa\u6765\uff0c\u5728\u4f60\u7684\u7cfb\u7edf\u4e2d\u4e3a\u4f60\u6240\u7528\u3002 \u5728\u5f00\u53d1\u529f\u80fd\u4e4b\u524d&hellip;<\/p>\n","protected":false},"author":1,"featured_media":6458,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[99],"tags":[549,599,598,100],"_links":{"self":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/6450"}],"collection":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6450"}],"version-history":[{"count":2,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/6450\/revisions"}],"predecessor-version":[{"id":6459,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/6450\/revisions\/6459"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/media\/6458"}],"wp:attachment":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}