{"id":658,"date":"2025-04-08T06:00:17","date_gmt":"2025-04-07T22:00:17","guid":{"rendered":"https:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/"},"modified":"2025-04-08T06:00:17","modified_gmt":"2025-04-07T22:00:17","slug":"python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e","status":"publish","type":"post","link":"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/","title":{"rendered":"python\u529e\u516c\u81ea\u52a8\u5316\uff0c\u770b\u5b8c\u8fd9\u4e00\u7bc7\u5c31\u591f\u4e86\uff01_python\u7684\u81ea\u52a8\u5316\u529e\u516c"},"content":{"rendered":"<div class=\"article_content clearfix\" id=\"article_content\">\n <link href=\"https:\/\/csdnimg.cn\/release\/blogv2\/dist\/mdeditor\/css\/editerView\/kdoc_html_views-1a98987dfd.css\" rel=\"stylesheet\"\/>\n <link href=\"https:\/\/csdnimg.cn\/release\/blogv2\/dist\/mdeditor\/css\/editerView\/ck_htmledit_views-704d5b9767.css\" rel=\"stylesheet\"\/>\n<div class=\"markdown_views prism-atom-one-dark\" id=\"content_views\">\n  <svg style=\"display: none;\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n   <path d=\"M5,0 0,2.5 5,5z\" id=\"raphael-marker-block\" stroke-linecap=\"round\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);\">\n   <\/path>\n  <\/svg><\/p>\n<p>\n   \u505a\u4e86\u90a3\u4e48\u591a\u5e74\u5f00\u53d1\uff0c\u81ea\u5b66\u4e86\u5f88\u591a\u95e8\u7f16\u7a0b\u8bed\u8a00\uff0c\u6211\u5f88\u660e\u767d\u5b66\u4e60\u8d44\u6e90\u5bf9\u4e8e\u5b66\u4e00\u95e8\u65b0\u8bed\u8a00\u7684\u91cd\u8981\u6027\uff0c\u8fd9\u4e9b\u5e74\u4e5f\u6536\u85cf\u4e86\u4e0d\u5c11\u7684Python\u5e72\u8d27\uff0c\u5bf9\u6211\u6765\u8bf4\u8fd9\u4e9b\u4e1c\u897f\u786e\u5b9e\u5df2\u7ecf\u7528\u4e0d\u5230\u4e86\uff0c\u4f46\u5bf9\u4e8e\u51c6\u5907\u81ea\u5b66Python\u7684\u4eba\u6765\u8bf4\uff0c\u6216\u8bb8\u5b83\u5c31\u662f\u4e00\u4e2a\u5b9d\u85cf\uff0c\u53ef\u4ee5\u7ed9\u4f60\u7701\u53bb\u5f88\u591a\u7684\u65f6\u95f4\u548c\u7cbe\u529b\u3002\n  <\/p>\n<p>\n   \u522b\u5728\u7f51\u4e0a\u778e\u5b66\u4e86\uff0c\u6211\u6700\u8fd1\u4e5f\u505a\u4e86\u4e00\u4e9b\u8d44\u6e90\u7684\u66f4\u65b0\uff0c\u53ea\u8981\u4f60\u662f\u6211\u7684\u7c89\u4e1d\uff0c\u8fd9\u671f\u798f\u5229\u4f60\u90fd\u53ef\u62ff\u8d70\u3002\n  <\/p>\n<p>\n   \u6211\u5148\u6765\u4ecb\u7ecd\u4e00\u4e0b\u8fd9\u4e9b\u4e1c\u897f\u600e\u4e48\u7528\uff0c\u6587\u672b\u62b1\u8d70\u3002\n  <\/p>\n<hr\/>\n<p>\n   <strong><br \/>\n    \uff081\uff09Python\u6240\u6709\u65b9\u5411\u7684\u5b66\u4e60\u8def\u7ebf\uff08\u65b0\u7248\uff09<br \/>\n   <\/strong>\n  <\/p>\n<p>\n   \u8fd9\u662f\u6211\u82b1\u4e86\u51e0\u5929\u7684\u65f6\u95f4\u53bb\u628aPython\u6240\u6709\u65b9\u5411\u7684\u6280\u672f\u70b9\u505a\u7684\u6574\u7406\uff0c\u5f62\u6210\u5404\u4e2a\u9886\u57df\u7684\u77e5\u8bc6\u70b9\u6c47\u603b\uff0c\u5b83\u7684\u7528\u5904\u5c31\u5728\u4e8e\uff0c\u4f60\u53ef\u4ee5\u6309\u7167\u4e0a\u9762\u7684\u77e5\u8bc6\u70b9\u53bb\u627e\u5bf9\u5e94\u7684\u5b66\u4e60\u8d44\u6e90\uff0c\u4fdd\u8bc1\u81ea\u5df1\u5b66\u5f97\u8f83\u4e3a\u5168\u9762\u3002\n  <\/p>\n<p>\n   \u6700\u8fd1\u6211\u624d\u5bf9\u8fd9\u4e9b\u8def\u7ebf\u505a\u4e86\u4e00\u4e0b\u65b0\u7684\u66f4\u65b0\uff0c\u77e5\u8bc6\u4f53\u7cfb\u66f4\u5168\u9762\u4e86\u3002\n  <\/p>\n<\/p>\n<p>\n   <strong><br \/>\n    \uff082\uff09Python\u5b66\u4e60\u89c6\u9891<br \/>\n   <\/strong>\n  <\/p>\n<p>\n   \u5305\u542b\u4e86Python\u5165\u95e8\u3001\u722c\u866b\u3001\u6570\u636e\u5206\u6790\u548cweb\u5f00\u53d1\u7684\u5b66\u4e60\u89c6\u9891\uff0c\u603b\u5171100\u591a\u4e2a\uff0c\u867d\u7136\u6ca1\u6709\u90a3\u4e48\u5168\u9762\uff0c\u4f46\u662f\u5bf9\u4e8e\u5165\u95e8\u6765\u8bf4\u662f\u6ca1\u95ee\u9898\u7684\uff0c\u5b66\u5b8c\u8fd9\u4e9b\u4e4b\u540e\uff0c\u4f60\u53ef\u4ee5\u6309\u7167\u6211\u4e0a\u9762\u7684\u5b66\u4e60\u8def\u7ebf\u53bb\u7f51\u4e0a\u627e\u5176\u4ed6\u7684\u77e5\u8bc6\u8d44\u6e90\u8fdb\u884c\u8fdb\u9636\u3002\n  <\/p>\n<\/p>\n<p>\n   <strong><br \/>\n    \uff083\uff09100\u591a\u4e2a\u7ec3\u624b\u9879\u76ee<br \/>\n   <\/strong>\n  <\/p>\n<p>\n   \u6211\u4eec\u5728\u770b\u89c6\u9891\u5b66\u4e60\u7684\u65f6\u5019\uff0c\u4e0d\u80fd\u5149\u52a8\u773c\u52a8\u8111\u4e0d\u52a8\u624b\uff0c\u6bd4\u8f83\u79d1\u5b66\u7684\u5b66\u4e60\u65b9\u6cd5\u662f\u5728\u7406\u89e3\u4e4b\u540e\u8fd0\u7528\u5b83\u4eec\uff0c\u8fd9\u65f6\u5019\u7ec3\u624b\u9879\u76ee\u5c31\u5f88\u9002\u5408\u4e86\uff0c\u53ea\u662f\u91cc\u9762\u7684\u9879\u76ee\u6bd4\u8f83\u591a\uff0c\u6c34\u5e73\u4e5f\u662f\u53c2\u5dee\u4e0d\u9f50\uff0c\u5927\u5bb6\u53ef\u4ee5\u6311\u81ea\u5df1\u80fd\u505a\u7684\u9879\u76ee\u53bb\u7ec3\u7ec3\u3002\n  <\/p>\n<\/p>\n<p>\n   <strong><br \/>\n    \uff084\uff09200\u591a\u672c\u7535\u5b50\u4e66<br \/>\n   <\/strong>\n  <\/p>\n<p>\n   \u8fd9\u4e9b\u5e74\u6211\u4e5f\u6536\u85cf\u4e86\u5f88\u591a\u7535\u5b50\u4e66\uff0c\u5927\u6982200\u591a\u672c\uff0c\u6709\u65f6\u5019\u5e26\u5b9e\u4f53\u4e66\u4e0d\u65b9\u4fbf\u7684\u8bdd\uff0c\u6211\u5c31\u4f1a\u53bb\u6253\u5f00\u7535\u5b50\u4e66\u770b\u770b\uff0c\u4e66\u7c4d\u53ef\u4e0d\u4e00\u5b9a\u6bd4\u89c6\u9891\u6559\u7a0b\u5dee\uff0c\u5c24\u5176\u662f\u6743\u5a01\u7684\u6280\u672f\u4e66\u7c4d\u3002\n  <\/p>\n<p>\n   \u57fa\u672c\u4e0a\u4e3b\u6d41\u7684\u548c\u7ecf\u5178\u7684\u90fd\u6709\uff0c\u8fd9\u91cc\u6211\u5c31\u4e0d\u653e\u56fe\u4e86\uff0c\u7248\u6743\u95ee\u9898\uff0c\u4e2a\u4eba\u770b\u770b\u662f\u6ca1\u6709\u95ee\u9898\u7684\u3002\n  <\/p>\n<p>\n   <strong><br \/>\n    \uff085\uff09Python\u77e5\u8bc6\u70b9\u6c47\u603b<br \/>\n   <\/strong>\n  <\/p>\n<p>\n   \u77e5\u8bc6\u70b9\u6c47\u603b\u6709\u70b9\u50cf\u5b66\u4e60\u8def\u7ebf\uff0c\u4f46\u4e0e\u5b66\u4e60\u8def\u7ebf\u4e0d\u540c\u7684\u70b9\u5c31\u5728\u4e8e\uff0c\u77e5\u8bc6\u70b9\u6c47\u603b\u66f4\u4e3a\u7ec6\u81f4\uff0c\u91cc\u9762\u5305\u542b\u4e86\u5bf9\u5177\u4f53\u77e5\u8bc6\u70b9\u7684\u7b80\u5355\u8bf4\u660e\uff0c\u800c\u6211\u4eec\u7684\u5b66\u4e60\u8def\u7ebf\u5219\u66f4\u4e3a\u62bd\u8c61\u548c\u7b80\u5355\uff0c\u53ea\u662f\u4e3a\u4e86\u65b9\u4fbf\u5927\u5bb6\u53ea\u662f\u67d0\u4e2a\u9886\u57df\u4f60\u5e94\u8be5\u5b66\u4e60\u54ea\u4e9b\u6280\u672f\u6808\u3002\n  <\/p>\n<\/p>\n<p>\n   <strong><br \/>\n    \uff086\uff09\u5176\u4ed6\u8d44\u6599<br \/>\n   <\/strong>\n  <\/p>\n<p>\n   \u8fd8\u6709\u5176\u4ed6\u7684\u4e00\u4e9b\u4e1c\u897f\uff0c\u6bd4\u5982\u8bf4\u6211\u81ea\u5df1\u51fa\u7684Python\u5165\u95e8\u56fe\u6587\u7c7b\u6559\u7a0b\uff0c\u6ca1\u6709\u7535\u8111\u7684\u65f6\u5019\u7528\u624b\u673a\u4e5f\u53ef\u4ee5\u5b66\u4e60\u77e5\u8bc6\uff0c\u5b66\u4f1a\u4e86\u7406\u8bba\u4e4b\u540e\u518d\u53bb\u6572\u4ee3\u7801\u5b9e\u8df5\u9a8c\u8bc1\uff0c\u8fd8\u6709Python\u4e2d\u6587\u7248\u7684\u5e93\u8d44\u6599\u3001MySQL\u548cHTML\u6807\u7b7e\u5927\u5168\u7b49\u7b49\uff0c\u8fd9\u4e9b\u90fd\u662f\u53ef\u4ee5\u9001\u7ed9\u7c89\u4e1d\u4eec\u7684\u4e1c\u897f\u3002\n  <\/p>\n<\/p>\n<p>\n   <strong><br \/>\n    \u8fd9\u4e9b\u90fd\u4e0d\u662f\u4ec0\u4e48\u975e\u5e38\u503c\u94b1\u7684\u4e1c\u897f\uff0c\u4f46\u5bf9\u4e8e\u6ca1\u6709\u8d44\u6e90\u6216\u8005\u8d44\u6e90\u4e0d\u662f\u5f88\u597d\u7684\u5b66\u4e60\u8005\u6765\u8bf4\u786e\u5b9e\u5f88\u4e0d\u9519\uff0c\u4f60\u8981\u662f\u7528\u5f97\u5230\u7684\u8bdd\u90fd\u53ef\u4ee5\u76f4\u63a5\u62b1\u8d70\uff0c\u5173\u6ce8\u8fc7\u6211\u7684\u4eba\u90fd\u77e5\u9053\uff0c\u8fd9\u4e9b\u90fd\u662f\u53ef\u4ee5\u62ff\u5230\u7684\u3002<br \/>\n   <\/strong>\n  <\/p>\n<p>\n   <strong><br \/>\n    \u7f51\u4e0a\u5b66\u4e60\u8d44\u6599\u4e00\u5927\u5806\uff0c\u4f46\u5982\u679c\u5b66\u5230\u7684\u77e5\u8bc6\u4e0d\u6210\u4f53\u7cfb\uff0c\u9047\u5230\u95ee\u9898\u65f6\u53ea\u662f\u6d45\u5c1d\u8f84\u6b62\uff0c\u4e0d\u518d\u6df1\u5165\u7814\u7a76\uff0c\u90a3\u4e48\u5f88\u96be\u505a\u5230\u771f\u6b63\u7684\u6280\u672f\u63d0\u5347\u3002<br \/>\n   <\/strong>\n  <\/p>\n<p>\n   <strong><br \/>\n    <a href=\"https:\/\/bbs.csdn.net\/topics\/618317507\"><br \/>\n     \u9700\u8981\u8fd9\u4efd\u7cfb\u7edf\u5316\u5b66\u4e60\u8d44\u6599\u7684\u670b\u53cb\uff0c\u53ef\u4ee5\u6233\u8fd9\u91cc\u83b7\u53d6<br \/>\n    <\/a><br \/>\n   <\/strong>\n  <\/p>\n<p>\n   <strong><br \/>\n    \u4e00\u4e2a\u4eba\u53ef\u4ee5\u8d70\u7684\u5f88\u5feb\uff0c\u4f46\u4e00\u7fa4\u4eba\u624d\u80fd\u8d70\u7684\u66f4\u8fdc\uff01\u4e0d\u8bba\u4f60\u662f\u6b63\u4ece\u4e8bIT\u884c\u4e1a\u7684\u8001\u9e1f\u6216\u662f\u5bf9IT\u884c\u4e1a\u611f\u5174\u8da3\u7684\u65b0\u4eba\uff0c\u90fd\u6b22\u8fce\u52a0\u5165\u6211\u4eec\u7684\u7684\u5708\u5b50\uff08\u6280\u672f\u4ea4\u6d41\u3001\u5b66\u4e60\u8d44\u6e90\u3001\u804c\u573a\u5410\u69fd\u3001\u5927\u5382\u5185\u63a8\u3001\u9762\u8bd5\u8f85\u5bfc\uff09\uff0c\u8ba9\u6211\u4eec\u4e00\u8d77\u5b66\u4e60\u6210\u957f\uff01<br \/>\n   <\/strong>\n  <\/p>\n<p>\n   \u6d3b\u52a8\u8868\n  <\/p>\n<ul>\n<li>\n    type \u4e3a\u6d3b\u52a8\u7c7b\u578b\n   <\/li>\n<li>\n    value \u4e3a\u6d3b\u52a8\u79ef\u5206\n   <\/li>\n<li>\n    tilte \u4e3a\u8be5\u6d3b\u52a8\u5bf9\u4e8e\u7684\u804c\u52a1\n   <\/li>\n<\/ul>\n<p>\n   \u63a5\u4e0b\u6765\u5c31\u662f\u6d3b\u52a8\u8bb0\u5f55\u8868\u4e86\uff0c\u7531\u4e8e\u5df2\u7ecf\u5b9a\u4e49\u4e86\u6d3b\u52a8\u4e0e\u804c\u52a1\u7684\u5bf9\u4e8e\u5173\u7cfb\uff0c\u6240\u4ee5\uff0c\u6d3b\u52a8\u8bb0\u5f55\u8868\u4e2d\uff0c\u53ea\u9700\u8bb0\u5f55\u6d3b\u52a8\u7c7b\u578b\u5373\u53ef\uff1a[\u56fe\u7247\u4e0a\u4f20\u5931\u8d25\u2026(image-9db191-1649679796363)]\n  <\/p>\n<ul>\n<li>\n    mixin_id \u4e3a\u7528\u6237id\uff0cstd_id \u5176\u5b9e\u662f\u6ca1\u5fc5\u8981\u7684\uff0c\u4e0d\u8fc7\u5f55\u5165\u6253\u5361\u8bb0\u5f55\u65f6\u987a\u5e26\u8bb0\u5f55\u4e86\n   <\/li>\n<li>\n    date \u4e3a\u6d3b\u52a8\u53d1\u751f\u7684\u65e5\u671f\n   <\/li>\n<li>\n    type \u4e3a\u6d3b\u52a8\u5185\u5bb9\n   <\/li>\n<\/ul>\n<p>\n   \u5982\u679c\u540c\u4e00\u4e2a\u4eba\u540c\u4e00\u5929\u540c\u4e00\u4e2a\u6d3b\u52a8\u51fa\u73b0\u591a\u6b21\uff0c\u5c31\u4f1a\u6709\u91cd\u590d\u8bb0\u5f55\uff0c\u90a3\u4e48\u5982\u4f55\u533a\u5206\u662f\u5426\u771f\u7684\u91cd\u590d\u5462\uff1f\u5728 \u6570\u636e\u6536\u96c6 \u4e2d\u5c55\u5f00\u3002\n  <\/p>\n<p>\n   \u9664\u4e86\u57fa\u672c\u7684\u6570\u636e\u7ed3\u6784\uff0c\u8fd8\u6709\u79ef\u5206\u7edf\u8ba1\u660e\u7ec6\u548c\u79ef\u5206\u5408\u8ba1\u8868\uff0c\u8fd9\u91cc\u4e0d\u518d\u8d58\u8ff0\uff0c\u4f1a\u5728\u6838\u7b97\u90e8\u5206\u63d0\u53ca\u3002\n  <\/p>\n<h4>\n   <a id=\"_117\"><br \/>\n   <\/a><br \/>\n   \u6570\u636e\u6536\u96c6<br \/>\n  <\/h4>\n<p>\n   \u73b0\u5728\u6570\u636e\u6846\u67b6\u6709\u4e86\uff0c\u6570\u636e\u4ece\u4f55\u800c\u6765\u5462\uff1f\n  <\/p>\n<p>\n   \u8fd9\u4e2a\u8bad\u7ec3\u8425\u7684\u6570\u636e\u4e3b\u8981\u6765\u81ea\u4e24\u4e2a\u5730\u65b9\uff0c\u7b2c\u4e00\u662f\u6253\u5361\u6570\u636e\uff0c\u7b2c\u4e8c\u662f\u65e5\u5e38\u8bb0\u5f55\u6570\u636e\u3002\n  <\/p>\n<p>\n   \u6253\u5361\u6570\u636e\u7531\u9cb8\u6253\u5361\u63d0\u4f9b\uff0c\u53ef\u4ee5\u5728\u6d4f\u89c8\u5668\u4e2d\u67e5\u770b\uff0c\u5e76\u4e14\u63d0\u4f9b\u4e86\u5bfc\u51fa\u6253\u5361 Excel \u7684\u529f\u80fd\u3002\n  <\/p>\n<p>\n   \u4e0d\u8fc7\u64cd\u4f5c\u6bd4\u8f83\u9ebb\u70e6\uff1a\u9996\u5148\u767b\u5f55\u540e\u53f0\uff08\u7528\u5fae\u4fe1\u626b\u7801\u767b\u5f55\uff09\uff0c\u518d\u5148\u9009\u62e9\u5bfc\u51fa\u6761\u4ef6\uff08\u4e00\u822c\u4e3a\u65f6\u95f4\u533a\u95f4\uff09\uff0c\u4e0b\u8f7dExcel\uff0c\u7136\u540e\u6253\u5f00 Excel\uff0c\u624d\u80fd\u590d\u5236\u5176\u4e2d\u7684\u6253\u5361\u4fe1\u606f\uff0c\u5b58\u5165\u6587\u672c\u6587\u4ef6\uff0c\u6700\u540e\u624d\u80fd\u6267\u884c\u811a\u672c\u5904\u7406\u3002\n  <\/p>\n<blockquote>\n<p>\n    \u597d\u95ee\u9898\uff1a<br \/>\n    <br \/>\n    \u4e3a\u4ec0\u4e48\u4e0d\u76f4\u63a5\u5904\u7406 Excel \u5462\uff1f\n   <\/p>\n<ol>\n<li>\n     \u56e0\u4e3aExcel \u5904\u7406\u9700\u8981\u5b89\u88c5\u989d\u5916\u5e93\uff0c\u4e5f\u6ca1\u6709\u6587\u672c\u6587\u4ef6\u5904\u7406\u65b9\u4fbf\u3002\n    <\/li>\n<li>\n     \u53e6\u5916\u672a\u6765\u8003\u8651\u505a\u6210 Web \u7cfb\u7edf\uff0c\u6240\u4ee5\u6ca1\u6709\u505a Excel \u7684\u8fdb\u4e00\u6b65\u6269\u5c55\u3002\n    <\/li>\n<\/ol>\n<\/blockquote>\n<p>\n   \u4e0d\u9009\u62e9\u5bfc\u51fa\uff0c\u5c31\u5f97\u7528\u7a0b\u5e8f\u8bf7\u9cb8\u9c7c\u6253\u5361\u4e0a\u6293\u53d6\u4e86\u3002\n  <\/p>\n<p>\n   \u6240\u4ee5\u5c31\u7814\u7a76\u4e86\u4e0b\u6253\u5f00\u7ba1\u7406\u540e\u53f0\u7684\u8bf7\u6c42\uff0c\u5206\u6790\u4e86\u4e00\u4e0b\uff0c\u8bf7\u6c42\u4e2d\u6709\u4e2a<br \/>\n   <code><br \/>\n    cookie<br \/>\n   <\/code><br \/>\n   \u503c\u662f\u5173\u952e\uff0c\u4e8e\u662f\uff0c\u590d\u5236\u8bf7\u6c42\uff0c\u8f6c\u5316\u4e3a Python \u4ee3\u7801\uff0c\u8be6\u7ec6\u63cf\u8ff0\u89c1<br \/>\n   <a href=\"\" rel=\"nofollow\"><br \/>\n    \u81ea\u52a8\u9884\u7ea6\u7a0b\u5e8f<br \/>\n   <\/a>\n  <\/p>\n<p>\n   \u6536\u96c6\u5230\u7684\u6570\u636e\u662f JSON \u683c\u5f0f\u7684\uff0c\u5c06\u5176\u8f6c\u5316\u4e3a List\uff0c\u63d2\u5165\u6570\u636e\u5e93\uff1a\n  <\/p>\n<pre><code>def record\\_check(rows):    dbrows = []    for row in rows:        u = get_user(std_id=int(row[0]))        if u:            if row[2] != \"\u00d7\":                dbrows.append((u['mixin\\_id'], u['std\\_id'], row[1], \"\u6253\u5361\", 1, row[2], None))        else:            print(\"\u6ca1\u6709\u627e\u5230\u7528\u6237\uff1a\", row)    if len(dbrows) &gt; 0:        db.insert(\"tprj\\_activity\", dbrows)    return dbrows\n\n<\/code><\/pre>\n<ul>\n<li>\n    <code><br \/>\n     record_check<br \/>\n    <\/code><br \/>\n    \u65b9\u6cd5\u662f\u7528\u6765\u8bb0\u5f55\u6253\u5f00\u8bb0\u5f55\u7684\uff0c\u53c2\u6570<br \/>\n    <code><br \/>\n     rows<br \/>\n    <\/code><br \/>\n    \u662f\u4ece\u6253\u5f00\u540e\u53f0\u6293\u53d6\u7684\u6570\u636e\n   <\/li>\n<li>\n    <code><br \/>\n     get_user<br \/>\n    <\/code><br \/>\n    \u662f\u53ef\u4ee5\u6839\u636e\u6253\u5361\u7528\u6237\u7684 id\uff0c\u4ece\u7528\u6237\u8868\u4e2d\u627e\u5230\u7528\u6237\u8bb0\u5f55\uff0c\u7136\u540e\u7ed3\u5408\u6253\u5361\u8bb0\u5f55\uff0c\u8865\u5168\u6253\u5361\u8bb0\u5f55\n   <\/li>\n<li>\n    <code><br \/>\n     db<br \/>\n    <\/code><br \/>\n    \u662f \u4e0a\u9762\u63d0\u5230\u7684 DBSqlite \u7684\u4e00\u4e2a\u5b9e\u4f8b\uff0c\u8c03\u7528\u5176<br \/>\n    <code><br \/>\n     insert<br \/>\n    <\/code><br \/>\n    \u65b9\u6cd5\u5c06\u6570\u636e\u63d2\u5165\u6570\u636e\u5e93\n   <\/li>\n<\/ul>\n<p>\n   \u65e5\u5e38\u8bb0\u5f55\uff0c\u9700\u8981\u6839\u636e\u8bad\u7ec3\u8425\u4e2d\u7684\u5b9e\u9645\u60c5\u51b5\u505a\u8bb0\u5f55\uff0c\u6bd4\u5982\u6210\u5458\u5f00\u5355\uff0c\u7ec4\u957f\u8f6e\u503c\u7b49\uff0c\u8bb0\u5f55\u5728 Excel \u4e2d\u6bd4\u8f83\u65b9\u4fbf\u3002\u6bcf\u65e5\u7edf\u8ba1\u4e00\u6b21\uff0c\u6240\u4ee5\u6211\u76f4\u63a5\u5c06\u6570\u636e\u590d\u5236\u5904\u7406\uff0c\u4e5f\u5b58\u653e\u5230\u6587\u672c\u6587\u4ef6\u4e2d\uff0c\u7528\u7a0b\u5e8f\u89e3\u6790\u6210\u8bb0\u5f55\u884c\uff0c\u63d2\u5165\u5e93\u8868\uff0c\u5c55\u793a\u4e00\u4e0b\u89e3\u6790\u65b9\u6cd5\uff1a\n  <\/p>\n<pre><code>def merge\\_activity(datafilename):    rows = []    with open(datafilename, 'r', encoding='utf-8') as check_f:        data = {}        for line in check_f:            linedata = line[:-1].split('\\t')            date = linedata[0].replace(\"\/\",\"-\")            userinfo = linedata[1].split(\"\/\")            team = userinfo[0]            name, mixin_id, std_id = userinfo[1].split('-')            atype = linedata[2]            rows.append((mixin_id, date, atype))    ...\n\n<\/code><\/pre>\n<p>\n   \u53ef\u4ee5\u770b\u5230\uff0c\u901a\u8fc7\u8bfb\u5165\u6587\u672c\u884c\uff0c\u518d\u62c6\u5206\u6210\u5bf9\u4e8e\u5b57\u6bb5\uff0c\u5408\u6210\u6d3b\u52a8\u8bb0\u5f55\u3002\n  <\/p>\n<p>\n   \u8fd9\u6837\u4e24\u4e2a\u6570\u636e\u6536\u96c6\u5de5\u4f5c\u5c31\u505a\u597d\u4e86\uff0c\u8fd9\u91cc\u8fd8\u9700\u8981\u89e3\u51b3\u4e00\u4e2a\u95ee\u9898 \u2014\u2014 \u907f\u514d\u6570\u636e\u91cd\u590d\u3002\n  <\/p>\n<p>\n   \u5bb9\u6613\u60f3\u5230\u7684\u65b9\u6cd5\u662f\uff0c\u4e3a\u6570\u636e\u8bbe\u7f6e\u8054\u5408\u4e3b\u952e\uff0c\u7136\u540e\u5bf9\u6570\u636e\u505a\u589e\u91cf\u5f0f\u66f4\u65b0\u3002\n  <\/p>\n<p>\n   \u4f46\u662f\u8fd9\u6837\u505a\u9700\u8981\u505a\u66f4\u591a\u7684\u5de5\u4f5c\uff0c\u800c\u4e14\u8fd8\u8981\u5f88\u597d\u7684\u6d4b\u8bd5\u3002\n  <\/p>\n<p>\n   \u4ece\u4e1a\u52a1\u4e0a\u5206\u6790\u53ef\u77e5\uff1a\u6d3b\u52a8\u6570\u636e\u5e76\u4e0d\u591a\uff0c\u5b66\u5458\u4e2a\u6570\u4e0d\u8fc7\u4e00\u767e\u3002\n  <\/p>\n<p>\n   \u90a3\u4e48\u4e0d\u59a8\u6bcf\u6b21\u91cd\u7b97\uff01\uff1f\n  <\/p>\n<p>\n   \u5373\u6bcf\u6b21\u6267\u884c\u65f6\uff0c\u5148\u5e93\u8868\u6570\u636e\u5220\u9664\uff0c\u7136\u540e\u91cd\u65b0\u63d2\u5165\u4e00\u904d\u3002\n  <\/p>\n<p>\n   \u867d\u7136\u6548\u7387\u4e86\u4e0d\u9ad8\uff0c\u4e5f\u7b97\u662f\u7528\u6846\u67b6\u6362\u65f6\u95f4\u5427\uff0c\u6362\u7684\u4e0d\u51fa\u673a\u5668\u65f6\u95f4\uff0c\u800c\u662f\u6211\u7684\u5de5\u4f5c\u65f6\u95f4\u54c8\u54c8\u3002\n  <\/p>\n<h4>\n   <a id=\"_198\"><br \/>\n   <\/a><br \/>\n   \u81ea\u52a8\u6838\u7b97<br \/>\n  <\/h4>\n<p>\n   \u6570\u636e\u7edf\u8ba1\u6536\u96c6\u5b8c\u6bd5\uff0c\u5c31\u9700\u8981\u6839\u636e\u6d3b\u52a8\u79ef\u5206\uff0c\u8ba1\u7b97\u6bcf\u4e2a\u4eba\u7684\u79ef\u5206\u660e\u7ec6\u5408\u8ba1\u3002\n  <\/p>\n<p>\n   \u65e2\u7136\u6211\u4eec\u9009\u7528\u4e86\u6570\u636e\u5e93\uff0c\u5c31\u76f4\u63a5\u7528 Sql \u8bed\u53e5\u641e\u5b9a\u5427\u3002\n  <\/p>\n<p>\n   \u76f8\u5bf9\u7a0b\u5e8f\u5904\u7406\u6765\u8bf4\uff0cSql \u66f4\u5bb9\u6613\u505a\u7edf\u8ba1\u7c7b\u7684\u4e8b\u60c5\u3002\n  <\/p>\n<p>\n   \u7edf\u8ba1\u666e\u901a\u6210\u5458\u79ef\u5206\u660e\u7ec6\u7684\u8bed\u53e5\u5982\u4e0b\uff1a\n  <\/p>\n<pre><code>INSERT INTO tprj_user_score_detail SELECT a.mixin_id, sum(s.value), u.team, '\u6210\u5458', a.date FROM    tprj_activity a    LEFT JOIN tprj_user u ON a.mixin_id = u.mixin_id    LEFT JOIN tbas_score s ON a.type = s.type WHERE s.title = '\u6210\u5458' GROUP BY    a.mixin_id,    u.team,    u.title,    a.date \n\n<\/code><\/pre>\n<ul>\n<li>\n    \u67e5\u8be2\u6240\u6709\u804c\u52a1\u5c5e\u4e8e<br \/>\n    <code><br \/>\n     \u6210\u5458<br \/>\n    <\/code><br \/>\n    \u7684\u6d3b\u52a8\u79ef\u5206\uff0c\u63d2\u5165\u6210\u5458\u79ef\u5206\u660e\u7ec6\u8868\n   <\/li>\n<li>\n    <code><br \/>\n     tprj_activity<br \/>\n    <\/code><br \/>\n    \u4e3a\u6d3b\u52a8\u8bb0\u5f55\u8868\uff0c\u4e0e<br \/>\n    <code><br \/>\n     tprj_user<br \/>\n    <\/code><br \/>\n    \u7528\u6237\u8868\u94fe\u63a5\uff0c\u7136\u540e\u518d\u94fe\u63a5\u4e0a\u6d3b\u52a8\u8868<br \/>\n    <code><br \/>\n     tbas_score<br \/>\n    <\/code><br \/>\n    \uff0c\u4f5c\u7528\u662f\u5bf9\u6d3b\u52a8\u7c7b\u505a\u7ea6\u675f\n   <\/li>\n<li>\n    <code><br \/>\n     where<br \/>\n    <\/code><br \/>\n    \u6761\u4ef6\u4e2d\uff0c\u9650\u5236\u6d3b\u52a8\u7c7b\u578b\u5fc5\u987b\u4e3a<br \/>\n    <code><br \/>\n     \u6210\u5458<br \/>\n    <\/code><br \/>\n    \u6d3b\u52a8\n   <\/li>\n<li>\n    <code><br \/>\n     sum(s.value)<br \/>\n    <\/code><br \/>\n    \u4e3a\u4e00\u4e2a\u6210\u5458\u7684\u5f53\u65e5\u79ef\u5206\u5408\u8ba1\uff0c<br \/>\n    <code><br \/>\n     \u65e5\u671f<br \/>\n    <\/code><br \/>\n    \u4f53\u73b0\u5728<br \/>\n    <code><br \/>\n     group by<br \/>\n    <\/code><br \/>\n    \u7684\u6761\u4ef6\u4e2d\u4e86\n   <\/li>\n<\/ul>\n<p>\n   \u7c7b\u4f3c\u7684\u9700\u8981\u5199\u5f88\u591a\u7edf\u8ba1\u8bed\u53e5\uff0c\u6bd4\u5982\u7ec4\u957f\u7684\uff0c\u5c0f\u7ec4\u7684\uff0c\u4ee5\u53ca\u5404\u81ea\u7684\u79ef\u5206\u5408\u8ba1\uff0c\u4e0d\u518d\u9010\u4e2a\u5c55\u793a\u4e86\u3002\n  <\/p>\n<p>\n   \u7531\u4e8e sql \u8bed\u53e5\u8f83\u591a\uff0c\u4e3a\u4e86\u4fbf\u4e8e\u7ba1\u7406\uff0c\u5c06 sql \u8bed\u53e5\u6574\u7406\u5230<br \/>\n   <code><br \/>\n    sql.py<br \/>\n   <\/code><br \/>\n   \u6587\u4ef6\u4e2d\uff0c\u5728\u5bfc\u5165\u4e3b\u7a0b\u5e8f\u4ee3\u7801\uff0c\u6700\u540e\u8c03\u7528<br \/>\n   <code><br \/>\n    DBSqlite<br \/>\n   <\/code><br \/>\n   \u5de5\u5177\u65b9\u6cd5\u6267\u884c\uff0c\u4f8b\u5982\uff1a\n  <\/p>\n<pre><code>import sql...db.de(sql.user_score_detail)...\n\n<\/code><\/pre>\n<p>\n   \u662f\u4e0d\u4f18\u96c5\u591a\u4e86\uff1f\n  <\/p>\n<p>\n   \u6253\u5361\u7387\u662f\u901a\u8fc7\u7edf\u8ba1\u6d3b\u52a8\u8bb0\u5f55\u8ba1\u7b97\u7684\uff1a\n  <\/p>\n<pre><code>def cal\\_check\\_rate():    ## \u8ba1\u7b97\u6253\u5361\u7387    team_member = {}    for r in db.query(sql.team_member_count):        team_member[r['team']] = r['mcount']    dbrows = []    for r in db.query(sql.team_check_count):        dbrows.append((r['team'], r['date'], round((r['checkcount']\/team_member[r['team']])\\*100)))    if len(dbrows) &gt; 0:        db.insert(\"tprj\\_team\\_check\\_rate\", dbrows)    return dbrows\n\n<\/code><\/pre>\n<ul>\n<li>\n    <code><br \/>\n     team_member_count<br \/>\n    <\/code><br \/>\n    \u8bed\u53e5\u8bed\u53e5\u83b7\u53d6\u5404\u7ec4\u7684\u4eba\u6570\uff0c\u56e0\u4e3a\u53ef\u80fd\u6709\u4eba\u6ca1\u6709\u6ce8\u518c\u6253\u5361\u3002\u53ea\u901a\u8fc7\u6253\u5361\u8bb0\u5f55\u83b7\u53d6\u7ec4\u5185\u4eba\u6570\uff0c\u4e0d\u4e25\u8c28\u3002\n   <\/li>\n<li>\n    <code><br \/>\n     team_check_count<br \/>\n    <\/code><br \/>\n    \u8bed\u53e5\u662f\u6309\u7ec4\u548c\u65e5\u671f\u5206\u7c7b\u6838\u7b97\u51fa\u7684\u7ec4\u6253\u5361\u6570\n   <\/li>\n<li>\n    \u6253\u5361\u7387\u516c\u5f0f\u4e3a\uff1a<br \/>\n    <code><br \/>\n     \uff08\u6253\u5361\u4e2a\u6570\/\u7ec4\u5185\u4eba\u6570\uff09 * 100%<br \/>\n    <\/code>\n   <\/li>\n<li>\n    \u5c06\u8ba1\u7b97\u597d\u7684\u6253\u5361\u7387\uff0c\u6309\u65e5\u671f\u5b58\u5165<br \/>\n    <code><br \/>\n     dbrows<br \/>\n    <\/code><br \/>\n    \uff0c\u6700\u540e\u63d2\u5165\u6570\u636e\u5e93\n   <\/li>\n<\/ul>\n<p>\n   \u8fd9\u91cc\u8fd8\u9700\u8981\u6ce8\u610f\u7684\u662f\u91cd\u590d\u6570\u636e\u95ee\u9898\uff0c\u5904\u7406\u65b9\u6cd5\u7b80\u5355\u7c97\u66b4\uff1a\n  <\/p>\n<blockquote>\n<p>\n    \u5168\u90e8\u6e05\u9664\u91cd\u7b97\n   <\/p>\n<\/blockquote>\n<p>\n   \u5176\u4ed6\u6570\u636e\u5904\u7406\u4e5f\u7c7b\u4f3c\u3002\n  <\/p>\n<h4>\n   <a id=\"_269\"><br \/>\n   <\/a><br \/>\n   \u62a5\u8868\u5bfc\u51fa<br \/>\n  <\/h4>\n<p>\n   \u6570\u636e\u5904\u7406\u505a\u597d\u4e86\uff0c\u8981\u8ba9\u53d1\u6325\u6570\u636e\u7684\u4f5c\u7528\uff0c\u5c31\u9700\u8981\u5236\u4f5c\u6210\u62a5\u8868\uff0c\u624d\u80fd\u8ba9\u5176\u4ed6\u4eba\u5229\u7528\u3002\n  <\/p>\n<p>\n   \u672c\u7740\u4e00\u5207\u4ece\u7b80\u7684\u539f\u5219\uff08\u4e3b\u8981\u662f\u9700\u8981\u5c3d\u5feb\u63d0\u4f9b\u7ed3\u679c\uff09\uff0c\u9009\u62e9\u4e5f Excel \u5448\u73b0\u7edf\u8ba1\u7ed3\u679c\u3002\n  <\/p>\n<p>\n   \u8981\u8f93\u51fa\u54ea\u4e9b\u5185\u5bb9\u5462\uff1f\n  <\/p>\n<p>\n   \u6253\u5361\u7387\u3001\u6210\u5458\u79ef\u5206\u3001\u7ec4\u6392\u540d\u7b49\uff0c\u662f\u9700\u8981\u7684\u3002\n  <\/p>\n<p>\n   \u5bf9\u4e8e\u6253\u5361\u7387\uff0c\u9700\u8981\u6309\u7ec4\u5206\u7c7b\uff0c\u8fd9\u6837\u5c31\u6709\u8bfb\u51fa\u5c0f\u7ec4\u6210\u5458\u7684\u4f5c\u7528\uff0c\u5982\u4f55\u62bd\u53d6\u6570\u636e\u5462\uff1f\n  <\/p>\n<p>\n   \u5199\u4e2a Sql \u5c31\u597d\u4e86, \u83b7\u53d6\u6253\u5361\u7387\u7684\u8bed\u53e5<br \/>\n   <code><br \/>\n    check_rate_show<br \/>\n   <\/code><br \/>\n   \u5982\u4e0b\uff1a\n  <\/p>\n<pre><code>SELECT \n    date,\n    max(case when team ='1\u7ec4' then rate else 0 end) as '1\u7ec4',\n    max(case when team ='2\u7ec4' then rate else 0 end) as '2\u7ec4',\n    max(case when team ='3\u7ec4' then rate else 0 end) as '3\u7ec4',\n    max(case when team ='4\u7ec4' then rate else 0 end) as '4\u7ec4',\n    max(case when team ='5\u7ec4' then rate else 0 end) as '5\u7ec4'\nFROM tprj_team_check_rate\nGROUP BY date\n\n<\/code><\/pre>\n<ul>\n<li>\n    <code><br \/>\n     tprj_team_check_rate<br \/>\n    <\/code><br \/>\n    \u662f\u7528\u4e8e\u6309\u7ec4\u548c\u65e5\u671f\u5b58\u653e\u6253\u5361\u7387\n   <\/li>\n<li>\n    <code><br \/>\n     select<br \/>\n    <\/code><br \/>\n    \u8bed\u53e5\u4e2d\uff0c\u4f7f\u7528\u4e86\u884c\u8f6c\u5217\u7684\u6280\u5de7\uff0c\u4f7f\u5f97\u7ed3\u679c\u4e3a \u7b2c\u4e00\u5217\u4e3a\u65e5\u671f\uff0c\u540e\u9762\u5217\u4e3a\u5404\u4e2a\u7ec4\uff0c\u8fd9\u6837\u662f\u4e3a\u4e86\u7ed8\u5236\u6210\u56fe\u8868\u65b9\u4fbf\n   <\/li>\n<\/ul>\n<p>\n   \u5176\u5b9e\u7ed3\u679c\u53ef\u4ee5\u5bfc\u5165 Excel \uff0c\u751f\u6210\u62a5\u8868\uff0c\u66f4\u65b9\u4fbf\u4e00\u4e9b\uff0c\u4f46\u662f\u6211\u6ca1\u8fd9\u6837\u505a\uff0c\u56e0\u4e3a\uff1a\n  <\/p>\n<ol>\n<li>\n    \u64cd\u4f5c Excel \u6bd4\u8f83\u8d39\u52b2\uff0c\u8c03\u8bd5\u5de5\u4f5c\u91cf\u5927\n   <\/li>\n<li>\n    \u6211\u6709\u66f4\u5927\u7684\u6253\u7b97\uff0c\u5373\u6700\u7ec8\u5b9e\u73b0\u4e3a\u5728\u7ebf\u7248\u7684\uff0c\u6240\u4ee5\u82b1\u8d39\u5927\u91cf\u65f6\u95f4\u4e0d\u503c\u5f97\n   <\/li>\n<\/ol>\n<p>\n   \u56e0\u6b64\u6211\u76f4\u63a5\u5c06\u6570\u636e\u8f93\u51fa\u5230\u6587\u672c\u6587\u4ef6\u91cc\u4e86\u3002\n  <\/p>\n<p>\n   \u4f8b\u5982\u5bf9\u6253\u5361\u7387\u7684\u8f93\u51fa\u662f\u8fd9\u6837\u7684\uff1a\n  <\/p>\n<pre><code>def show\\_check\\_rate():\n    data = db.qj(sql.check_rate_show)\n    result = []\n    # \u5904\u7406\u8868\u5934\n    line = '\\t'.join(data[0].keys()) + \"\\n\"\n    result.append(line)\n\n    # \u751f\u6210\u8868\u5934\n    for d in data:\n        row = []\n        for k in d.keys():\n            if k != 'date':\n                row.append(str(d[k]) + \"%\")\n            else:\n                row.append(d[k])\n        line = '\\t'.join(row) + \"\\n\"\n        result.append(line)\n    result.append('\\n')\n    return result\n\n<\/code><\/pre>\n<ul>\n<li>\n    <code><br \/>\n     check_rate_show<br \/>\n    <\/code><br \/>\n    \u6267\u884c Sql \u83b7\u5f97\u6570\u636e\n   <\/li>\n<li>\n    \u4ece\u6570\u636e\u4e2d\u83b7\u53d6\u8868\u5934\u4fe1\u606f\uff0c\u505a\u6210\u4e00\u884c\u8bb0\u5f55\uff0c\u8bf7\u6ce8\u610f\u5b57\u6bb5\u7684\u5206\u9694\u4e3a tab \u7b26\uff0c\u8fd9\u6837\u662f\u4e3a\u4e86\u65b9\u4fbf\u76f4\u63a5\u7c98\u8d34\u5230 Excel \u4e2d\n   <\/li>\n<li>\n    \u53d6\u51fa\u6570\u636e\u4e2d\u7684\u6bcf\u4e00\u884c\uff0c\u505a\u6210\u8868\u4f53\u6570\u636e\u884c\n   <\/li>\n<li>\n    \u6700\u540e\u518d\u52a0\u5165\u4e00\u4e2a\u56de\u8f66\uff0c\u8fd9\u662f\u4e3a\u4e86\u548c\u5176\u4ed6\u7684\u8f93\u51fa\u5206\u9694\u5f00\n   <\/li>\n<\/ul>\n<p>\n   \u65b9\u6cd5\u6267\u884c\u7684\u7ed3\u679c\uff0c\u5199\u5165\u6587\u672c\u6587\u4ef6\uff1a\n  <\/p>\n<pre><code>filename = \"result\\_%s.txt\" % today.strftime(\"%Y-%m-%d %H\\_%M\\_%S\")\nwith open(filename, 'w', encoding='utf-8') as r:\n    r.writelines(show_check_rate()) # \u6253\u5361\u7387\n    r.writelines(show_member_score()) # \u6210\u5458\u79ef\u5206\n    ...\n\n<\/code><\/pre>\n<ul>\n<li>\n    <code><br \/>\n     filename<br \/>\n    <\/code><br \/>\n    \u4e3a\u8981\u5199\u5165\u7684\u6587\u672c\u6587\u4ef6\uff0c\u8fd9\u91cc\u5229\u7528\u5f53\u524d\u65f6\u95f4\u4f5c\u4e3a\u6587\u4ef6\u540d\uff0c\u662f\u4e3a\u4e86\u4e0d\u91cd\u590d\n   <\/li>\n<li>\n    \u6253\u5f00\u6587\u4ef6\uff0c\u7528<br \/>\n    <code><br \/>\n     writelines<br \/>\n    <\/code><br \/>\n    \u65b9\u6cd5\u5c06\u8fd4\u56de\u7684\u884c\u5199\u5165\u6587\u4ef6\u4e2d\n   <\/li>\n<li>\n    \u8fd9\u91cc\u8fd8\u53ef\u4ee5\u8c03\u7528\u5176\u4ed6\u4ea7\u751f\u8f93\u51fa\u65b9\u6cd5\uff0c\u5c06\u7ed3\u679c\u5199\u5165\u6587\u4ef6\n   <\/li>\n<\/ul>\n<p>\n   \u6700\u540e\uff0c\u6587\u4ef6\u4e2d\u6570\u636e\u5982\u4e0b\uff1a\n  <\/p>\n<pre><code>date    1\u7ec4  2\u7ec4  3\u7ec4  4\u7ec4  5\u7ec4\n2021-08-01  65% 90% 79% 85% 72%\n2021-08-02  75% 90% 79% 85% 67%\n2021-08-03  55% 90% 84% 75% 67%\n2021-08-04  60% 95% 74% 75% 61%\n\n<\/code><\/pre>\n<p>\n   \u590d\u5236\u5230 Excel \u7684\u56fe\u8868\u6570\u636e\u4e2d\u5c31\u4f1a\u5f62\u6210\u6253\u5361\u7387\u56fe\u8868\uff1a\n  <\/p>\n<\/p>\n<p>\n   \u6253\u5361\u7387\u56fe\u8868\n  <\/p>\n<h4>\n   <a id=\"_391\"><br \/>\n   <\/a><br \/>\n   \u65e5\u5e38\u7ef4\u62a4<br \/>\n  <\/h4>\n<p>\n   \u8fd0\u8425\u5de5\u4f5c\u4e0d\u662f\u4e00\u6210\u4e0d\u53d8\u7684\uff0c\u6bd4\u5982\u4e3a\u4e86\u6fc0\u52b1\u6210\u5458\u5bf9\u63d0\u51fa\u7684\u95ee\u9898\u8fdb\u884c\u6574\u7406\uff0c\u65b0\u589e\u4e86\u4e00\u4e2a\u79ef\u5206\u70b9\u53eb<br \/>\n   <code><br \/>\n    \u89e3\u7b54\u6574\u7406<br \/>\n   <\/code><br \/>\n   \u3002\n  <\/p>\n<p>\n   \u5c31\u5f97\u8c03\u6574\u79ef\u5206\u9879\uff0c\u56e0\u4e3a\u4e4b\u524d\u5df2\u7ecf\u5c06\u79ef\u5206\u9879\u7528\u5e93\u8868\u5b58\u50a8\u4e86\uff0c\u73b0\u5728\u53ea\u9700\u8981\u589e\u52a0\u4e00\u6761\u8bb0\u5f55\uff0c\u5e76\u6307\u660e\u8be5\u79ef\u5206\u9002\u7528\u4e8e\u6210\u5458\u89d2\u8272\u5c31\u53ef\u4ee5\u4e86\u3002\n  <\/p>\n<p>\n   \u53e6\u5916\uff0c\u5728 \u6d3b\u52a8\u8be6\u60c5 \u62a5\u8868\u4e2d\uff0c\u9700\u8981\u6309\u6d3b\u52a8\u540d\u79f0\u8bb0\u5f55\u6bcf\u4e2a\u4eba\u7684\u6570\u636e\uff0c\u4e5f\u662f\u4e2a\u884c\u8f6c\u5217\u7684\u64cd\u4f5c\uff0c\u4f46\u9ebb\u70e6\u7684\u662f\u6d3b\u52a8\u9879\u662f\u4f1a\u53d8\u7684\u3002\n  <\/p>\n<p>\n   \u4e8e\u662f\u5148\u5c06\u83b7\u53d6\u9879\u52a8\u6001\u83b7\u53d6\u5230\uff0c\u7136\u540e\u5408\u6210\u4e3a\u884c\u8f6c\u5217\u7684\u8bed\u53e5\uff0c\u518d\u548c\u67e5\u8be2\u8bed\u53e5\u5408\u5e76\u4e3a\u5b8c\u6574\u7684 Sql \u8bed\u53e5\uff0c\u8fd9\u6837\u6d3b\u52a8\u518d\u6709\u8c03\u6574\u65f6\uff0c\u53ea\u7ba1\u6dfb\u52a0\u6570\u636e\u9879\u5c31\u597d\u4e86\uff0c\u4ee3\u7801\u5982\u4e0b\uff1a\n  <\/p>\n<pre><code>score_type_temp = \"max(case when type ='{atype}' then num else 0 end) as '{atype}'\"types = db.query(\"select type, value from tbas\\_score where title='%s'\" % title)temps = []for t in types:    temps.append(sql.score_type_temp.format(atype=t['type']))allsql = sql.member_score.format(\",\\n\".join(temps))\n\n<\/code><\/pre>\n<p>\n   \u6700\u540e\uff0c\u5c06\u5404\u90e8\u5206\u7684\u4ee3\u7801\u96c6\u6210\u8d77\u6765\uff0c\u653e\u5728\u4e00\u4e2a<br \/>\n   <code><br \/>\n    main<br \/>\n   <\/code><br \/>\n   \u51fd\u6570\u4e2d\uff0c\u6bcf\u5929\u6267\u884c\u4e00\u6b21\uff0c\u5c06\u8f93\u51fa\u7684\u6587\u672c\u6587\u4ef6\u4e2d\u7684\u6570\u636e\u590d\u5236\u5230 Excel \u4e2d\uff0c\u5c31\u5b8c\u6210\u5f53\u65e5\u62a5\u8868\u4e86\uff0c\u6574\u4e2a\u64cd\u4f5c\u8017\u65f6\u4e0d\u5230\u5341\u5206\u949f\uff0c\u8fd8\u7b97\u6ee1\u610f\u3002\n  <\/p>\n<h4>\n   <a id=\"_415\"><br \/>\n   <\/a><br \/>\n   \u603b\u7ed3<br \/>\n  <\/h4>\n<p>\n   \u4fc3\u4f7f\u6211\u8fd9\u4e48\u505a\u7684\u662f\uff0c\u4e0d\u60f3\u5728\u673a\u68b0\u7684\u4e8b\u60c5\u4e0a\u8017\u8d39\u65f6\u95f4\uff0c\u6240\u4ee5\u4f1a\u5c3d\u53ef\u80fd\u7684\u5c06\u80fd\u81ea\u52a8\u5904\u7406\u7684\uff0c\u8ba9\u7a0b\u5e8f\u5904\u7406\u3002\n  <\/p>\n<p>\n   \u867d\u7136\u8ba9\u4e00\u5207\u7a0b\u5e8f\u5316\u662f\u4e00\u4e2a\u7406\u60f3\uff0c\u5728\u5b9e\u73b0\u7684\u9053\u8def\u4e0a\u4f1a\u6709\u5f88\u591a\u963b\u788d\uff0c\u6240\u4ee5\u8fd8\u9700\u8981\u627e\u5230\u843d\u5730\u7684\u5e73\u8861\u70b9\uff0c\u9700\u8981\u63a5\u53d7\u4e0d\u5b8c\u7f8e\uff0c\u9700\u8981\u5df2\u5b9e\u7528\u4e3a\u5bfc\u5411 \u2014\u2014<br \/>\n   <strong><br \/>\n    \u5148\u5b9e\u73b0\uff0c\u518d\u5b8c\u7f8e<br \/>\n   <\/strong><br \/>\n   \u3002\n  <\/p>\n<p>\n   <strong><br \/>\n    \u8bfb\u8005\u798f\u5229\uff1a\u77e5\u9053\u4f60\u5bf9Python\u611f\u5174\u8da3\uff0c\u4fbf\u51c6\u5907\u4e86\u8fd9\u5957python\u5b66\u4e60\u8d44\u6599<br \/>\n   <\/strong>\n  <\/p>\n<p>\n   <strong><br \/>\n    \u5bf9\u4e8e0\u57fa\u7840\u5c0f\u767d\u5165\u95e8\uff1a<br \/>\n   <\/strong>\n  <\/p>\n<blockquote>\n<p>\n    \u5982\u679c\u4f60\u662f\u96f6\u57fa\u7840\u5c0f\u767d\uff0c\u60f3\u5feb\u901f\u5165\u95e8Python\u662f\u53ef\u4ee5\u8003\u8651\u7684\u3002<br \/>\n    <br \/>\n    \u4e00\u65b9\u9762\u662f\u5b66\u4e60\u65f6\u95f4\u76f8\u5bf9\u8f83\u77ed\uff0c\u5b66\u4e60\u5185\u5bb9\u66f4\u5168\u9762\u66f4\u96c6\u4e2d\u3002<br \/>\n    <br \/>\n    \u4e8c\u65b9\u9762\u662f\u53ef\u4ee5\u627e\u5230\u9002\u5408\u81ea\u5df1\u7684\u5b66\u4e60\u65b9\u6848\n   <\/p>\n<\/blockquote>\n<p>\n   \u5305\u62ec\uff1aPython\u6fc0\u6d3b\u7801+\u5b89\u88c5\u5305\u3001Python web\u5f00\u53d1\uff0cPython\u722c\u866b\uff0cPython\u6570\u636e\u5206\u6790\uff0c\u4eba\u5de5\u667a\u80fd\u3001\u673a\u5668\u5b66\u4e60\u7b49\u4e60\u6559\u7a0b\u3002\u5e26\u4f60\u4ece\u96f6\u57fa\u7840\u7cfb\u7edf\u6027\u7684\u5b66\u597dPython\uff01\n  <\/p>\n<h4>\n   <a id=\"Python_443\"><br \/>\n   <\/a><br \/>\n   \u96f6\u57fa\u7840Python\u5b66\u4e60\u8d44\u6e90\u4ecb\u7ecd<br \/>\n  <\/h4>\n<ul>\n<li>\n    \u2460 Python\u6240\u6709\u65b9\u5411\u7684\u5b66\u4e60\u8def\u7ebf\u56fe\uff0c\u6e05\u695a\u5404\u4e2a\u65b9\u5411\u8981\u5b66\u4ec0\u4e48\u4e1c\u897f\n   <\/li>\n<li>\n    \u2461 600\u591a\u8282Python\u8bfe\u7a0b\u89c6\u9891\uff0c\u6db5\u76d6\u5fc5\u5907\u57fa\u7840\u3001\u722c\u866b\u548c\u6570\u636e\u5206\u6790\n   <\/li>\n<li>\n    \u2462 100\u591a\u4e2aPython\u5b9e\u6218\u6848\u4f8b\uff0c\u542b50\u4e2a\u8d85\u5927\u578b\u9879\u76ee\u8be6\u89e3\uff0c\u5b66\u4e60\u4e0d\u518d\u662f\u53ea\u4f1a\u7406\u8bba\n   <\/li>\n<li>\n    \u2463 20\u6b3e\u4e3b\u6d41\u624b\u6e38\u8feb\u89e3 \u722c\u866b\u624b\u6e38\u9006\u884c\u8feb\u89e3\u6559\u7a0b\u5305\n   <\/li>\n<li>\n    \u2464 \u722c\u866b\u4e0e\u53cd\u722c\u866b\u653b\u9632\u6559\u7a0b\u5305\uff0c\u542b15\u4e2a\u5927\u578b\u7f51\u7ad9\u8feb\u89e3\n   <\/li>\n<li>\n    \u2465 \u722c\u866bAPP\u9006\u5411\u5b9e\u6218\u6559\u7a0b\u5305\uff0c\u542b45\u9879\u7edd\u5bc6\u6280\u672f\u8be6\u89e3\n   <\/li>\n<li>\n    \u2466 \u8d85300\u672cPython\u7535\u5b50\u597d\u4e66\uff0c\u4ece\u5165\u95e8\u5230\u9ad8\u9636\u5e94\u6709\u5c3d\u6709\n   <\/li>\n<li>\n    \u2467 \u534e\u4e3a\u51fa\u54c1\u72ec\u5bb6Python\u6f2b\u753b\u6559\u7a0b\uff0c\u624b\u673a\u4e5f\u80fd\u5b66\u4e60\n   <\/li>\n<li>\n    \u2468 \u5386\u5e74\u4e92\u8054\u7f51\u4f01\u4e1aPython\u9762\u8bd5\u771f\u9898,\u590d\u4e60\u65f6\u975e\u5e38\u65b9\u4fbf\n   <\/li>\n<\/ul>\n<h4>\n   <a id=\"Python_457\"><br \/>\n   <\/a><br \/>\n   \ud83d\udc49Python\u5b66\u4e60\u8def\u7ebf\u6c47\u603b\ud83d\udc48<br \/>\n  <\/h4>\n<p>\n   Python\u6240\u6709\u65b9\u5411\u7684\u6280\u672f\u70b9\u505a\u7684\u6574\u7406\uff0c\u5f62\u6210\u5404\u4e2a\u9886\u57df\u7684\u77e5\u8bc6\u70b9\u6c47\u603b\uff0c\u5b83\u7684\u7528\u5904\u5c31\u5728\u4e8e\uff0c\u4f60\u53ef\u4ee5\u6309\u7167\u4e0a\u9762\u7684\u77e5\u8bc6\u70b9\u53bb\u627e\u5bf9\u5e94\u7684\u5b66\u4e60\u8d44\u6e90\uff0c\u4fdd\u8bc1\u81ea\u5df1\u5b66\u5f97\u8f83\u4e3a\u5168\u9762\u3002\uff08\u5168\u5957\u6559\u7a0b\u6587\u672b\u9886\u53d6\u54c8\uff09<br \/>\n   \n  <\/p>\n<h4>\n   <a id=\"Python_464\"><br \/>\n   <\/a><br \/>\n   \ud83d\udc49Python\u5fc5\u5907\u5f00\u53d1\u5de5\u5177\ud83d\udc48<br \/>\n  <\/h4>\n<\/p>\n<p>\n   <strong><br \/>\n    \u6e29\u99a8\u63d0\u793a\uff1a\u7bc7\u5e45\u6709\u9650\uff0c\u5df2\u6253\u5305\u6587\u4ef6\u5939\uff0c\u83b7\u53d6\u65b9\u5f0f\u5728\uff1a\u6587\u672b<br \/>\n   <\/strong>\n  <\/p>\n<h4>\n   <a id=\"Python600_473\"><br \/>\n   <\/a><br \/>\n   \ud83d\udc49Python\u5b66\u4e60\u89c6\u9891600\u5408\u96c6\ud83d\udc48<br \/>\n  <\/h4>\n<p>\n   <strong><br \/>\n    \u4e00\u3001Python\u6240\u6709\u65b9\u5411\u7684\u5b66\u4e60\u8def\u7ebf<br \/>\n   <\/strong>\n  <\/p>\n<p>\n   Python\u6240\u6709\u65b9\u5411\u7684\u6280\u672f\u70b9\u505a\u7684\u6574\u7406\uff0c\u5f62\u6210\u5404\u4e2a\u9886\u57df\u7684\u77e5\u8bc6\u70b9\u6c47\u603b\uff0c\u5b83\u7684\u7528\u5904\u5c31\u5728\u4e8e\uff0c\u4f60\u53ef\u4ee5\u6309\u7167\u4e0b\u9762\u7684\u77e5\u8bc6\u70b9\u53bb\u627e\u5bf9\u5e94\u7684\u5b66\u4e60\u8d44\u6e90\uff0c\u4fdd\u8bc1\u81ea\u5df1\u5b66\u5f97\u8f83\u4e3a\u5168\u9762\u3002\n  <\/p>\n<p>\n   \n  <\/p>\n<p>\n   <strong><br \/>\n    \u4e8c\u3001Python\u5fc5\u5907\u5f00\u53d1\u5de5\u5177<br \/>\n   <\/strong>\n  <\/p>\n<p>\n   \u5de5\u5177\u90fd\u5e2e\u5927\u5bb6\u6574\u7406\u597d\u4e86\uff0c\u5b89\u88c5\u5c31\u53ef\u76f4\u63a5\u4e0a\u624b\uff01\n  <\/p>\n<p>\n   <strong><br \/>\n    \u4e09\u3001\u6700\u65b0Python\u5b66\u4e60\u7b14\u8bb0<br \/>\n   <\/strong>\n  <\/p>\n<p>\n   \u5f53\u6211\u5b66\u5230\u4e00\u5b9a\u57fa\u7840\uff0c\u6709\u81ea\u5df1\u7684\u7406\u89e3\u80fd\u529b\u7684\u65f6\u5019\uff0c\u4f1a\u53bb\u9605\u8bfb\u4e00\u4e9b\u524d\u8f88\u6574\u7406\u7684\u4e66\u7c4d\u6216\u8005\u624b\u5199\u7684\u7b14\u8bb0\u8d44\u6599\uff0c\u8fd9\u4e9b\u7b14\u8bb0\u8be6\u7ec6\u8bb0\u8f7d\u4e86\u4ed6\u4eec\u5bf9\u4e00\u4e9b\u6280\u672f\u70b9\u7684\u7406\u89e3\uff0c\u8fd9\u4e9b\u7406\u89e3\u662f\u6bd4\u8f83\u72ec\u5230\uff0c\u53ef\u4ee5\u5b66\u5230\u4e0d\u4e00\u6837\u7684\u601d\u8def\u3002\n  <\/p>\n<\/p>\n<p>\n   <strong><br \/>\n    \u56db\u3001Python\u89c6\u9891\u5408\u96c6<br \/>\n   <\/strong>\n  <\/p>\n<p>\n   \u89c2\u770b\u5168\u9762\u96f6\u57fa\u7840\u5b66\u4e60\u89c6\u9891\uff0c\u770b\u89c6\u9891\u5b66\u4e60\u662f\u6700\u5feb\u6377\u4e5f\u662f\u6700\u6709\u6548\u679c\u7684\u65b9\u5f0f\uff0c\u8ddf\u7740\u89c6\u9891\u4e2d\u8001\u5e08\u7684\u601d\u8def\uff0c\u4ece\u57fa\u7840\u5230\u6df1\u5165\uff0c\u8fd8\u662f\u5f88\u5bb9\u6613\u5165\u95e8\u7684\u3002\n  <\/p>\n<\/p>\n<p>\n   <strong><br \/>\n    \u4e94\u3001\u5b9e\u6218\u6848\u4f8b<br \/>\n   <\/strong>\n  <\/p>\n<p>\n   \u7eb8\u4e0a\u5f97\u6765\u7ec8\u89c9\u6d45\uff0c\u8981\u5b66\u4f1a\u8ddf\u7740\u89c6\u9891\u4e00\u8d77\u6572\uff0c\u8981\u52a8\u624b\u5b9e\u64cd\uff0c\u624d\u80fd\u5c06\u81ea\u5df1\u7684\u6240\u5b66\u8fd0\u7528\u5230\u5b9e\u9645\u5f53\u4e2d\u53bb\uff0c\u8fd9\u65f6\u5019\u53ef\u4ee5\u641e\u70b9\u5b9e\u6218\u6848\u4f8b\u6765\u5b66\u4e60\u3002\n  <\/p>\n<p>\n   <strong><br \/>\n    \u516d\u3001\u9762\u8bd5\u5b9d\u5178<br \/>\n   <\/strong>\n  <\/p>\n<\/p>\n<h6>\n   <a id=\"httpsimgblogcsdnimgcn646863996ac44da8af500c049bb72fbdpngpic_center_510\"><br \/>\n   <\/a><br \/>\n   <strong><br \/>\n    \u7b80\u5386\u6a21\u677f<br \/>\n   <\/strong><br \/>\n  <\/h6>\n<p>\n   <strong><br \/>\n    \u7f51\u4e0a\u5b66\u4e60\u8d44\u6599\u4e00\u5927\u5806\uff0c\u4f46\u5982\u679c\u5b66\u5230\u7684\u77e5\u8bc6\u4e0d\u6210\u4f53\u7cfb\uff0c\u9047\u5230\u95ee\u9898\u65f6\u53ea\u662f\u6d45\u5c1d\u8f84\u6b62\uff0c\u4e0d\u518d\u6df1\u5165\u7814\u7a76\uff0c\u90a3\u4e48\u5f88\u96be\u505a\u5230\u771f\u6b63\u7684\u6280\u672f\u63d0\u5347\u3002<br \/>\n   <\/strong>\n  <\/p>\n<p>\n   <strong><br \/>\n    <a href=\"https:\/\/bbs.csdn.net\/topics\/618317507\"><br \/>\n     \u9700\u8981\u8fd9\u4efd\u7cfb\u7edf\u5316\u5b66\u4e60\u8d44\u6599\u7684\u670b\u53cb\uff0c\u53ef\u4ee5\u6233\u8fd9\u91cc\u83b7\u53d6<br \/>\n    <\/a><br \/>\n   <\/strong>\n  <\/p>\n<p>\n   <strong><br \/>\n    \u4e00\u4e2a\u4eba\u53ef\u4ee5\u8d70\u7684\u5f88\u5feb\uff0c\u4f46\u4e00\u7fa4\u4eba\u624d\u80fd\u8d70\u7684\u66f4\u8fdc\uff01\u4e0d\u8bba\u4f60\u662f\u6b63\u4ece\u4e8bIT\u884c\u4e1a\u7684\u8001\u9e1f\u6216\u662f\u5bf9IT\u884c\u4e1a\u611f\u5174\u8da3\u7684\u65b0\u4eba\uff0c\u90fd\u6b22\u8fce\u52a0\u5165\u6211\u4eec\u7684\u7684\u5708\u5b50\uff08\u6280\u672f\u4ea4\u6d41\u3001\u5b66\u4e60\u8d44\u6e90\u3001\u804c\u573a\u5410\u69fd\u3001\u5927\u5382\u5185\u63a8\u3001\u9762\u8bd5\u8f85\u5bfc\uff09\uff0c\u8ba9\u6211\u4eec\u4e00\u8d77\u5b66\u4e60\u6210\u957f\uff01<br \/>\n   <\/strong>\n  <\/p>\n<\/p><\/div>\n<link href=\"https:\/\/csdnimg.cn\/release\/blogv2\/dist\/mdeditor\/css\/editerView\/markdown_views-a5d25dd831.css\" rel=\"stylesheet\"\/>\n <link href=\"https:\/\/csdnimg.cn\/release\/blogv2\/dist\/mdeditor\/css\/style-e504d6a974.css\" rel=\"stylesheet\"\/>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u505a\u4e86\u90a3\u4e48\u591a\u5e74\u5f00\u53d1\uff0c\u81ea\u5b66\u4e86\u5f88\u591a\u95e8\u7f16\u7a0b\u8bed\u8a00\uff0c\u6211\u5f88\u660e\u767d\u5b66\u4e60\u8d44\u6e90\u5bf9\u4e8e\u5b66\u4e00\u95e8\u65b0\u8bed\u8a00\u7684\u91cd\u8981\u6027\uff0c\u8fd9\u4e9b\u5e74\u4e5f\u6536\u85cf\u4e86\u4e0d\u5c11\u7684Pyth [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":215,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"class_list":["post-658","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-18"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>python\u529e\u516c\u81ea\u52a8\u5316\uff0c\u770b\u5b8c\u8fd9\u4e00\u7bc7\u5c31\u591f\u4e86\uff01_python\u7684\u81ea\u52a8\u5316\u529e\u516c - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python\u529e\u516c\u81ea\u52a8\u5316\uff0c\u770b\u5b8c\u8fd9\u4e00\u7bc7\u5c31\u591f\u4e86\uff01_python\u7684\u81ea\u52a8\u5316\u529e\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"python\u529e\u516c\u81ea\u52a8\u5316\uff0c\u770b\u5b8c\u8fd9\u4e00\u7bc7\u5c31\u591f\u4e86\uff01_python\u7684\u81ea\u52a8\u5316\u529e\u516c - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\" \/>\n<meta property=\"og:description\" content=\"\u505a\u4e86\u90a3\u4e48\u591a\u5e74\u5f00\u53d1\uff0c\u81ea\u5b66\u4e86\u5f88\u591a\u95e8\u7f16\u7a0b\u8bed\u8a00\uff0c\u6211\u5f88\u660e\u767d\u5b66\u4e60\u8d44\u6e90\u5bf9\u4e8e\u5b66\u4e00\u95e8\u65b0\u8bed\u8a00\u7684\u91cd\u8981\u6027\uff0c\u8fd9\u4e9b\u5e74\u4e5f\u6536\u85cf\u4e86\u4e0d\u5c11\u7684Pyth [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python\u529e\u516c\u81ea\u52a8\u5316\uff0c\u770b\u5b8c\u8fd9\u4e00\u7bc7\u5c31\u591f\u4e86\uff01_python\u7684\u81ea\u52a8\u5316\u529e\/\" \/>\n<meta property=\"og:site_name\" content=\"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-07T22:00:17+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"260\" \/>\n\t<meta property=\"og:image:height\" content=\"180\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin@wunen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin@wunen\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/\"},\"author\":{\"name\":\"admin@wunen\",\"@id\":\"http:\/\/www.wunen.com\/#\/schema\/person\/d5f7a6cf545656a9c90d507e64452db8\"},\"headline\":\"python\u529e\u516c\u81ea\u52a8\u5316\uff0c\u770b\u5b8c\u8fd9\u4e00\u7bc7\u5c31\u591f\u4e86\uff01_python\u7684\u81ea\u52a8\u5316\u529e\u516c\",\"datePublished\":\"2025-04-07T22:00:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/\"},\"wordCount\":84,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/www.wunen.com\/#organization\"},\"image\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\",\"articleSection\":[\"\u5b66\u4e60\u529e\u516c\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/\",\"url\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/\",\"name\":\"python\u529e\u516c\u81ea\u52a8\u5316\uff0c\u770b\u5b8c\u8fd9\u4e00\u7bc7\u5c31\u591f\u4e86\uff01_python\u7684\u81ea\u52a8\u5316\u529e\u516c - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\",\"isPartOf\":{\"@id\":\"http:\/\/www.wunen.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/#primaryimage\"},\"image\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\",\"datePublished\":\"2025-04-07T22:00:17+00:00\",\"breadcrumb\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/#primaryimage\",\"url\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\",\"contentUrl\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\",\"width\":260,\"height\":180},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"http:\/\/www.wunen.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"python\u529e\u516c\u81ea\u52a8\u5316\uff0c\u770b\u5b8c\u8fd9\u4e00\u7bc7\u5c31\u591f\u4e86\uff01_python\u7684\u81ea\u52a8\u5316\u529e\u516c\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.wunen.com\/#website\",\"url\":\"http:\/\/www.wunen.com\/\",\"name\":\"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\",\"description\":\"\u8f6f\u4ef6\u8d44\u8baf\u6765\u7269\u5ae9\",\"publisher\":{\"@id\":\"http:\/\/www.wunen.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.wunen.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/www.wunen.com\/#organization\",\"name\":\"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\",\"url\":\"http:\/\/www.wunen.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"http:\/\/www.wunen.com\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/cropped-\u7269\u5ae9-1.png\",\"contentUrl\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/cropped-\u7269\u5ae9-1.png\",\"width\":1024,\"height\":1024,\"caption\":\"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\"},\"image\":{\"@id\":\"http:\/\/www.wunen.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"http:\/\/www.wunen.com\/#\/schema\/person\/d5f7a6cf545656a9c90d507e64452db8\",\"name\":\"admin@wunen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"http:\/\/www.wunen.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d90ec1e3faf77c4d4e66e40c29b85ff6401161e0502f401dae2f0e25b38ce25e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d90ec1e3faf77c4d4e66e40c29b85ff6401161e0502f401dae2f0e25b38ce25e?s=96&d=mm&r=g\",\"caption\":\"admin@wunen\"},\"sameAs\":[\"http:\/\/www.wunen.com\"],\"url\":\"http:\/\/www.wunen.com\/index.php\/author\/adminwunen\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"python\u529e\u516c\u81ea\u52a8\u5316\uff0c\u770b\u5b8c\u8fd9\u4e00\u7bc7\u5c31\u591f\u4e86\uff01_python\u7684\u81ea\u52a8\u5316\u529e\u516c - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python\u529e\u516c\u81ea\u52a8\u5316\uff0c\u770b\u5b8c\u8fd9\u4e00\u7bc7\u5c31\u591f\u4e86\uff01_python\u7684\u81ea\u52a8\u5316\u529e\/","og_locale":"zh_CN","og_type":"article","og_title":"python\u529e\u516c\u81ea\u52a8\u5316\uff0c\u770b\u5b8c\u8fd9\u4e00\u7bc7\u5c31\u591f\u4e86\uff01_python\u7684\u81ea\u52a8\u5316\u529e\u516c - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","og_description":"\u505a\u4e86\u90a3\u4e48\u591a\u5e74\u5f00\u53d1\uff0c\u81ea\u5b66\u4e86\u5f88\u591a\u95e8\u7f16\u7a0b\u8bed\u8a00\uff0c\u6211\u5f88\u660e\u767d\u5b66\u4e60\u8d44\u6e90\u5bf9\u4e8e\u5b66\u4e00\u95e8\u65b0\u8bed\u8a00\u7684\u91cd\u8981\u6027\uff0c\u8fd9\u4e9b\u5e74\u4e5f\u6536\u85cf\u4e86\u4e0d\u5c11\u7684Pyth [&hellip;]","og_url":"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python\u529e\u516c\u81ea\u52a8\u5316\uff0c\u770b\u5b8c\u8fd9\u4e00\u7bc7\u5c31\u591f\u4e86\uff01_python\u7684\u81ea\u52a8\u5316\u529e\/","og_site_name":"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","article_published_time":"2025-04-07T22:00:17+00:00","og_image":[{"width":260,"height":180,"url":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","type":"image\/jpeg"}],"author":"admin@wunen","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin@wunen","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/#article","isPartOf":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/"},"author":{"name":"admin@wunen","@id":"http:\/\/www.wunen.com\/#\/schema\/person\/d5f7a6cf545656a9c90d507e64452db8"},"headline":"python\u529e\u516c\u81ea\u52a8\u5316\uff0c\u770b\u5b8c\u8fd9\u4e00\u7bc7\u5c31\u591f\u4e86\uff01_python\u7684\u81ea\u52a8\u5316\u529e\u516c","datePublished":"2025-04-07T22:00:17+00:00","mainEntityOfPage":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/"},"wordCount":84,"commentCount":0,"publisher":{"@id":"http:\/\/www.wunen.com\/#organization"},"image":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/#primaryimage"},"thumbnailUrl":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","articleSection":["\u5b66\u4e60\u529e\u516c"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/","url":"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/","name":"python\u529e\u516c\u81ea\u52a8\u5316\uff0c\u770b\u5b8c\u8fd9\u4e00\u7bc7\u5c31\u591f\u4e86\uff01_python\u7684\u81ea\u52a8\u5316\u529e\u516c - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","isPartOf":{"@id":"http:\/\/www.wunen.com\/#website"},"primaryImageOfPage":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/#primaryimage"},"image":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/#primaryimage"},"thumbnailUrl":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","datePublished":"2025-04-07T22:00:17+00:00","breadcrumb":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/#primaryimage","url":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","contentUrl":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","width":260,"height":180},{"@type":"BreadcrumbList","@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/08\/python%e5%8a%9e%e5%85%ac%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%8c%e7%9c%8b%e5%ae%8c%e8%bf%99%e4%b8%80%e7%af%87%e5%b0%b1%e5%a4%9f%e4%ba%86%ef%bc%81_python%e7%9a%84%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8a%9e\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"http:\/\/www.wunen.com\/"},{"@type":"ListItem","position":2,"name":"python\u529e\u516c\u81ea\u52a8\u5316\uff0c\u770b\u5b8c\u8fd9\u4e00\u7bc7\u5c31\u591f\u4e86\uff01_python\u7684\u81ea\u52a8\u5316\u529e\u516c"}]},{"@type":"WebSite","@id":"http:\/\/www.wunen.com\/#website","url":"http:\/\/www.wunen.com\/","name":"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","description":"\u8f6f\u4ef6\u8d44\u8baf\u6765\u7269\u5ae9","publisher":{"@id":"http:\/\/www.wunen.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.wunen.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Organization","@id":"http:\/\/www.wunen.com\/#organization","name":"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","url":"http:\/\/www.wunen.com\/","logo":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"http:\/\/www.wunen.com\/#\/schema\/logo\/image\/","url":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/cropped-\u7269\u5ae9-1.png","contentUrl":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/cropped-\u7269\u5ae9-1.png","width":1024,"height":1024,"caption":"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51"},"image":{"@id":"http:\/\/www.wunen.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"http:\/\/www.wunen.com\/#\/schema\/person\/d5f7a6cf545656a9c90d507e64452db8","name":"admin@wunen","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"http:\/\/www.wunen.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d90ec1e3faf77c4d4e66e40c29b85ff6401161e0502f401dae2f0e25b38ce25e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d90ec1e3faf77c4d4e66e40c29b85ff6401161e0502f401dae2f0e25b38ce25e?s=96&d=mm&r=g","caption":"admin@wunen"},"sameAs":["http:\/\/www.wunen.com"],"url":"http:\/\/www.wunen.com\/index.php\/author\/adminwunen\/"}]}},"_links":{"self":[{"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/posts\/658","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/comments?post=658"}],"version-history":[{"count":0,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/posts\/658\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/media\/215"}],"wp:attachment":[{"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/media?parent=658"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/categories?post=658"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/tags?post=658"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}