{"id":175681,"date":"2024-05-08T18:55:57","date_gmt":"2024-05-08T10:55:57","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/175681.html"},"modified":"2024-05-08T18:56:00","modified_gmt":"2024-05-08T10:56:00","slug":"%e5%a6%82%e4%bd%95%e4%bd%bfpython%e7%a8%8b%e5%ba%8f%e6%88%90%e4%b8%ba%e6%9f%90%e7%b1%bb%e5%9e%8b%e6%96%87%e4%bb%b6%e7%9a%84%e9%bb%98%e8%ae%a4%e6%89%93%e5%bc%80%e6%96%b9%e5%bc%8f","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/175681.html","title":{"rendered":"\u5982\u4f55\u4f7fpython\u7a0b\u5e8f\u6210\u4e3a\u67d0\u7c7b\u578b\u6587\u4ef6\u7684\u9ed8\u8ba4\u6253\u5f00\u65b9\u5f0f"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27053648\/6ec6b664-af52-43a7-a493-9838672e0242.webp\" alt=\"\u5982\u4f55\u4f7fpython\u7a0b\u5e8f\u6210\u4e3a\u67d0\u7c7b\u578b\u6587\u4ef6\u7684\u9ed8\u8ba4\u6253\u5f00\u65b9\u5f0f\" \/><\/p>\n<p><p>\u8981\u4f7fPython\u7a0b\u5e8f\u6210\u4e3a\u67d0\u7c7b\u578b\u6587\u4ef6\u7684\u9ed8\u8ba4\u6253\u5f00\u65b9\u5f0f\uff0c\u4e3b\u8981\u6709\u51e0\u4e2a\u6b65\u9aa4\uff1a<strong>\u7f16\u8f91Windows\u6ce8\u518c\u8868\u6765\u5173\u8054\u6587\u4ef6\u7c7b\u578b\u3001\u4f7f\u7528Python\u6253\u5305\u5de5\u5177\u751f\u6210\u53ef\u6267\u884c\u6587\u4ef6\u3001\u5728\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u8bbe\u7f6e\u9ed8\u8ba4\u7a0b\u5e8f<\/strong>\u3002\u5176\u4e2d\uff0c<strong>\u7f16\u8f91Windows\u6ce8\u518c\u8868\u6765\u5173\u8054\u6587\u4ef6\u7c7b\u578b<\/strong>\u662f\u6700\u76f4\u63a5\u4e14\u5173\u952e\u7684\u6b65\u9aa4\uff0c\u56e0\u4e3a\u5b83\u76f4\u63a5\u5f71\u54cd\u5230\u64cd\u4f5c\u7cfb\u7edf\u662f\u5982\u4f55\u8bc6\u522b\u548c\u5904\u7406\u7279\u5b9a\u6269\u5c55\u540d\u7684\u6587\u4ef6\u3002\u901a\u8fc7\u6b63\u786e\u8bbe\u7f6e\u6ce8\u518c\u8868\uff0c\u4f60\u53ef\u4ee5\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u77e5\u9053\u5f53\u7528\u6237\u5c1d\u8bd5\u6253\u5f00\u7279\u5b9a\u7c7b\u578b\u7684\u6587\u4ef6\u65f6\uff0c\u5e94\u8be5\u542f\u52a8\u4f60\u7684Python\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u7f16\u8f91WINDOWS\u6ce8\u518c\u8868\u5b9e\u73b0\u6587\u4ef6\u5173\u8054<\/h3>\n<\/p>\n<p><p>\u5728Windows\u7cfb\u7edf\u4e2d\uff0c\u6587\u4ef6\u7c7b\u578b\u4e0e\u6253\u5f00\u65b9\u5f0f\u7684\u5173\u8054\u50a8\u5b58\u5728\u6ce8\u518c\u8868\u4e2d\u3002\u901a\u8fc7\u7f16\u8f91\u6ce8\u518c\u8868\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u7279\u5b9a\u7684\u6587\u4ef6\u6269\u5c55\u540d\uff08\u5982.txt\u3001.py\u7b49\uff09\u5173\u8054\u5230\u81ea\u5df1\u7f16\u5199\u7684Python\u53ef\u6267\u884c\u7a0b\u5e8f\u4e0a\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u6253\u5f00\u6ce8\u518c\u8868\u7f16\u8f91\u5668<\/strong>\uff1a\u53ef\u4ee5\u901a\u8fc7\u5728\u5f00\u59cb\u83dc\u5355\u4e2d\u641c\u7d22\u201cregedit\u201d\u6765\u6253\u5f00\u6ce8\u518c\u8868\u7f16\u8f91\u5668\u3002\u8fd9\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u5141\u8bb8\u7528\u6237\u67e5\u770b\u548c\u4fee\u6539\u7cfb\u7edf\u7684\u6ce8\u518c\u8868\u3002<\/li>\n<li><strong>\u521b\u5efa\u6216\u7f16\u8f91\u6587\u4ef6\u5173\u8054<\/strong>\uff1a\u5728\u6ce8\u518c\u8868\u4e2d\u627e\u5230<code>HKEY_CLASSES_ROOT<\/code>\u8fd9\u4e00\u90e8\u5206\u3002\u4f60\u53ef\u4ee5\u5728\u8fd9\u91cc\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u5173\u952e\u5b57\uff0c\u7528\u6765\u8868\u793a\u4f60\u7684\u81ea\u5b9a\u4e49\u6587\u4ef6\u7c7b\u578b\u3002\u7136\u540e\uff0c\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a\u201cshell\\open\\command\u201d\u7684\u952e\uff0c\u5e76\u5c06\u5176\u9ed8\u8ba4\u503c\u8bbe\u7f6e\u4e3a\u4f60Python\u7a0b\u5e8f\u7684\u8def\u5f84\uff0c\u8fd9\u6837\u5f53\u70b9\u51fb\u6587\u4ef6\u65f6\u5c31\u4f1a\u6267\u884c\u4f60\u7684\u7a0b\u5e8f\u3002<\/li>\n<\/ol>\n<p><h3>\u4e8c\u3001\u4f7f\u7528PYTHON\u6253\u5305\u5de5\u5177\u751f\u6210\u53ef\u6267\u884c\u6587\u4ef6<\/h3>\n<\/p>\n<p><p>\u4e3a\u4e86\u8ba9\u4f60\u7684Python\u7a0b\u5e8f\u80fd\u591f\u88ab\u64cd\u4f5c\u7cfb\u7edf\u8bc6\u522b\u5e76\u4f5c\u4e3a\u9ed8\u8ba4\u7a0b\u5e8f\u6765\u542f\u52a8\uff0c\u9996\u5148\u9700\u8981\u5c06\u5b83\u6253\u5305\u6210\u4e00\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\uff08.exe\uff09\u3002\u501f\u52a9PyInstaller\u6216\u8005Py2exe\u7b49\u5de5\u5177\u53ef\u4ee5\u5f88\u5bb9\u6613\u5730\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u5b89\u88c5\u6253\u5305\u5de5\u5177<\/strong>\uff1a\u901a\u8fc7pip\u547d\u4ee4\u5b89\u88c5PyInstaller\u6216Py2exe\u7b49\u6253\u5305\u5de5\u5177\u3002\u4f8b\u5982\u4f7f\u7528\u547d\u4ee4<code>pip install pyinstaller<\/code>\u5b89\u88c5PyInstaller\u3002<\/li>\n<li><strong>\u751f\u6210\u53ef\u6267\u884c\u6587\u4ef6<\/strong>\uff1a\u5728\u547d\u4ee4\u884c\u4e2d\uff0c\u4f7f\u7528PyInstaller\u7b49\u5de5\u5177\u5c06\u4f60\u7684Python\u811a\u672c\u8f6c\u6362\u4e3a\u53ef\u6267\u884c\u6587\u4ef6\u3002\u8fd9\u4e00\u6b65\u9aa4\u901a\u5e38\u6d89\u53ca\u547d\u4ee4\u884c\u7684\u64cd\u4f5c\uff0c\u6bd4\u5982<code>pyinstaller --onefile your_script.py<\/code>\uff0c\u8fd9\u5c06\u751f\u6210\u4e00\u4e2a\u72ec\u7acb\u7684\u53ef\u6267\u884c\u6587\u4ef6\u3002<\/li>\n<\/ol>\n<p><h3>\u4e09\u3001\u5728\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u8bbe\u7f6e\u9ed8\u8ba4\u7a0b\u5e8f<\/h3>\n<\/p>\n<p><p>\u5373\u4fbf\u5173\u8054\u4e86\u6587\u4ef6\u7c7b\u578b\uff0c\u7528\u6237\u6216\u7cfb\u7edf\u53ef\u80fd\u8fd8\u9700\u8981\u8fdb\u884c\u4e00\u4e9b\u989d\u5916\u7684\u8bbe\u7f6e\uff0c\u4ee5\u786e\u4fdd\u4f60\u7684Python\u7a0b\u5e8f\u6210\u4e3a\u7279\u5b9a\u6587\u4ef6\u7c7b\u578b\u7684\u9ed8\u8ba4\u6253\u5f00\u65b9\u5f0f\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u624b\u52a8\u8bbe\u7f6e\u9ed8\u8ba4\u7a0b\u5e8f<\/strong>\uff1a\u5728Windows\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u201c\u8bbe\u7f6e\u201d&gt;\u201c\u5e94\u7528\u201d&gt;\u201c\u9ed8\u8ba4\u5e94\u7528\u201d\u754c\u9762\u627e\u5230\u201c\u9009\u62e9\u9ed8\u8ba4\u5e94\u7528\u6309\u6587\u4ef6\u7c7b\u578b\u201d\uff0c\u7136\u540e\u627e\u5230\u4f60\u7684\u6587\u4ef6\u6269\u5c55\u540d\uff0c\u5c06\u5176\u9ed8\u8ba4\u7a0b\u5e8f\u8bbe\u7f6e\u4e3a\u4f60\u7684Python\u7a0b\u5e8f\u7684\u53ef\u6267\u884c\u6587\u4ef6\u3002<\/li>\n<li><strong>\u901a\u8fc7\u4ee3\u7801\u81ea\u52a8\u8bbe\u7f6e<\/strong>\uff1a\u53e6\u5916\uff0c\u4f60\u8fd8\u53ef\u4ee5\u901a\u8fc7\u4fee\u6539\u6ce8\u518c\u8868\u7684\u65b9\u5f0f\uff0c\u7528\u811a\u672c\u6765\u81ea\u52a8\u8bbe\u7f6e\u9ed8\u8ba4\u7a0b\u5e8f\uff0c\u8fd9\u901a\u5e38\u6d89\u53ca\u5230\u5199\u5165\u5148\u524d\u63d0\u5230\u7684<code>HKEY_CLASSES_ROOT\\\u4f60\u7684\u6587\u4ef6\u6269\u5c55\u540d<\/code>\u8def\u5f84\u3002<\/li>\n<\/ol>\n<p><h3>\u56db\u3001\u6ce8\u610f\u4e8b\u9879\u4e0e\u6700\u4f73\u5b9e\u8df5<\/h3>\n<\/p>\n<p><p>\u4f7fPython\u7a0b\u5e8f\u6210\u4e3a\u67d0\u7c7b\u578b\u6587\u4ef6\u7684\u9ed8\u8ba4\u6253\u5f00\u65b9\u5f0f\u867d\u7136\u6709\u5176\u4fbf\u5229\u6027\uff0c\u4f46\u4e5f\u6709\u4e00\u4e9b\u6ce8\u610f\u4e8b\u9879\u9700\u8981\u8003\u8651\uff0c\u4f8b\u5982\u4fdd\u8bc1\u7a0b\u5e8f\u7684\u7a33\u5b9a\u6027\u548c\u517c\u5bb9\u6027\u3001\u5c3d\u91cf\u51cf\u5c11\u5bf9\u7cfb\u7edf\u6027\u80fd\u7684\u5f71\u54cd\u7b49\u3002\u6b64\u5916\uff0c\u9002\u5f53\u7684\u7528\u6237\u5f15\u5bfc\u548c\u53cb\u597d\u7684\u9519\u8bef\u5904\u7406\u673a\u5236\u4e5f\u975e\u5e38\u5173\u952e\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u786e\u4fdd\u7a0b\u5e8f\u517c\u5bb9\u6027<\/strong>\uff1a\u6d4b\u8bd5\u4f60\u7684\u7a0b\u5e8f\u5728\u4e0d\u540c\u7248\u672c\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u7684\u8fd0\u884c\u60c5\u51b5\uff0c\u786e\u4fdd\u826f\u597d\u7684\u7528\u6237\u4f53\u9a8c\u3002<\/li>\n<li><strong>\u4f18\u5316\u7a0b\u5e8f\u6027\u80fd<\/strong>\uff1a\u907f\u514d\u7a0b\u5e8f\u5728\u542f\u52a8\u65f6\u6d88\u8017\u5927\u91cf\u8d44\u6e90\uff0c\u5c24\u5176\u662f\u5bf9\u4e8e\u90a3\u4e9b\u7ecf\u5e38\u88ab\u7528\u6765\u6253\u5f00\u7684\u6587\u4ef6\u7c7b\u578b\u3002<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u6b65\u9aa4\u548c\u6ce8\u610f\u4e8b\u9879\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u5b9e\u73b0\u5c06Python\u7a0b\u5e8f\u8bbe\u7f6e\u4e3a\u7279\u5b9a\u6587\u4ef6\u7c7b\u578b\u7684\u9ed8\u8ba4\u6253\u5f00\u65b9\u5f0f\uff0c\u63d0\u5347\u7528\u6237\u4f53\u9a8c\u540c\u65f6\u4e5f\u5c55\u793a\u4e86Python\u7a0b\u5e8f\u7684\u5f3a\u5927\u529f\u80fd\u6027\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u5982\u4f55\u5c06Python\u7a0b\u5e8f\u8bbe\u7f6e\u4e3a\u9ed8\u8ba4\u6253\u5f00\u67d0\u7c7b\u578b\u6587\u4ef6\u7684\u65b9\u5f0f\uff1f<\/strong><\/p>\n<p>\u5982\u679c\u4f60\u60f3\u7528Python\u7a0b\u5e8f\u6765\u6253\u5f00\u67d0\u4e00\u7c7b\u578b\u7684\u6587\u4ef6\uff0c\u4f60\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u6765\u8bbe\u7f6e\u5b83\u4f5c\u4e3a\u9ed8\u8ba4\u6253\u5f00\u65b9\u5f0f\uff1a<\/p>\n<p>\u7b2c\u4e00\u6b65\uff0c\u627e\u5230\u4f60\u60f3\u8981\u8bbe\u7f6e\u7684\u6587\u4ef6\u7c7b\u578b\uff0c\u6bd4\u5982 &quot;.txt&quot; \u7684\u6587\u672c\u6587\u4ef6\u3002<\/p>\n<p>\u7b2c\u4e8c\u6b65\uff0c\u53f3\u952e\u70b9\u51fb\u8be5\u6587\u4ef6\u5e76\u9009\u62e9 &quot;\u6253\u5f00\u65b9\u5f0f&quot;\uff0c\u7136\u540e\u9009\u62e9 &quot;\u4ece\u5e94\u7528\u7a0b\u5e8f\u5217\u8868\u4e2d\u9009\u62e9&quot;\u3002<\/p>\n<p>\u7b2c\u4e09\u6b65\uff0c\u5982\u679c\u4f60\u7684Python\u7a0b\u5e8f\u6ca1\u6709\u51fa\u73b0\u5728\u5217\u8868\u4e2d\uff0c\u70b9\u51fb &quot;\u67e5\u627e\u5176\u4ed6\u5e94\u7528\u7a0b\u5e8f\u5728\u8fd9\u53f0\u8ba1\u7b97\u673a\u4e0a\u6253\u5f00&quot;\u3002<\/p>\n<p>\u7b2c\u56db\u6b65\uff0c\u6d4f\u89c8\u5230\u4f60\u7684Python\u7a0b\u5e8f\u6240\u5728\u7684\u8def\u5f84\uff0c\u4f8b\u5982 &quot;C:\\Python\\python.exe&quot;\u3002<\/p>\n<p>\u7b2c\u4e94\u6b65\uff0c\u9009\u62e9\u8be5\u7a0b\u5e8f\u5e76\u70b9\u51fb &quot;\u786e\u5b9a&quot;\u3002<\/p>\n<p>\u73b0\u5728\uff0c\u6bcf\u5f53\u4f60\u53cc\u51fb\u6253\u5f00\u8be5\u7c7b\u578b\u7684\u6587\u4ef6\uff0c\u7cfb\u7edf\u5c06\u4f1a\u4f7f\u7528Python\u7a0b\u5e8f\u6765\u6253\u5f00\u5b83\u3002<\/p>\n<p><strong>2. \u5982\u4f55\u5c06Python\u7a0b\u5e8f\u8bbe\u7f6e\u4e3a\u9ed8\u8ba4\u6253\u5f00\u6587\u4ef6\u7684\u65b9\u5f0f\uff0c\u5e76\u4e14\u4fdd\u7559\u5176\u4ed6\u7a0b\u5e8f\u7684\u6253\u5f00\u9009\u9879\uff1f<\/strong><\/p>\n<p>\u5982\u679c\u4f60\u60f3\u5c06Python\u7a0b\u5e8f\u8bbe\u7f6e\u4e3a\u9ed8\u8ba4\u6253\u5f00\u67d0\u7c7b\u578b\u6587\u4ef6\u7684\u65b9\u5f0f\uff0c\u4f46\u53c8\u4e0d\u60f3\u5b8c\u5168\u53d6\u4ee3\u5176\u4ed6\u5e94\u7528\u7a0b\u5e8f\u7684\u9009\u9879\uff0c\u4f60\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u65b9\u6cd5\u64cd\u4f5c\uff1a<\/p>\n<p>\u9996\u5148\uff0c\u53f3\u952e\u70b9\u51fb\u4f60\u60f3\u4fee\u6539\u7684\u6587\u4ef6\u7c7b\u578b\uff0c\u7136\u540e\u9009\u62e9 &quot;\u5c5e\u6027&quot;\u3002<\/p>\n<p>\u63a5\u7740\uff0c\u5728 &quot;\u5e38\u89c4&quot; \u9009\u9879\u5361\u4e2d\uff0c\u70b9\u51fb &quot;\u66f4\u6539&quot; \u6309\u94ae\u3002<\/p>\n<p>\u5728\u5f39\u51fa\u7684 &quot;\u6253\u5f00\u65b9\u5f0f&quot; \u5bf9\u8bdd\u6846\u4e2d\uff0c\u4f60\u53ef\u4ee5\u770b\u5230\u5df2\u7ecf\u8bbe\u7f6e\u4e3a\u9ed8\u8ba4\u6253\u5f00\u65b9\u5f0f\u7684\u7a0b\u5e8f\u3002<\/p>\n<p>\u70b9\u51fb &quot;\u6d4f\u89c8&quot; \u6309\u94ae\uff0c\u7136\u540e\u627e\u5230\u4f60\u7684Python\u7a0b\u5e8f\u6240\u5728\u7684\u8def\u5f84\uff0c\u4f8b\u5982 &quot;C:\\Python\\python.exe&quot;\u3002<\/p>\n<p>\u9009\u62e9\u8be5\u7a0b\u5e8f\u5e76\u70b9\u51fb &quot;\u786e\u5b9a&quot;\u3002<\/p>\n<p>\u73b0\u5728\uff0c\u4f60\u7684Python\u7a0b\u5e8f\u5c06\u4f1a\u6210\u4e3a\u8be5\u6587\u4ef6\u7c7b\u578b\u7684\u9ed8\u8ba4\u6253\u5f00\u65b9\u5f0f\uff0c\u4f46\u4f60\u8fd8\u53ef\u4ee5\u901a\u8fc7\u53f3\u952e\u70b9\u51fb\u6587\u4ef6\u5e76\u9009\u62e9\u5176\u4ed6\u7a0b\u5e8f\u6765\u6253\u5f00\u5b83\u3002<\/p>\n<p><strong>3. \u6211\u60f3\u5c06Python\u7a0b\u5e8f\u8bbe\u7f6e\u4e3a\u9ed8\u8ba4\u6253\u5f00\u65b9\u5f0f\uff0c\u4f46\u6211\u627e\u4e0d\u5230\u5b83\u5728&quot;\u6253\u5f00\u65b9\u5f0f&quot;\u5217\u8868\u4e2d\uff0c\u600e\u4e48\u529e\uff1f<\/strong><\/p>\n<p>\u5982\u679c\u4f60\u60f3\u5c06Python\u7a0b\u5e8f\u8bbe\u7f6e\u4e3a\u9ed8\u8ba4\u6253\u5f00\u67d0\u7c7b\u578b\u6587\u4ef6\u7684\u65b9\u5f0f\uff0c\u4f46\u53d1\u73b0\u5b83\u4e0d\u5728&quot;\u6253\u5f00\u65b9\u5f0f&quot;\u5217\u8868\u4e2d\uff0c\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u64cd\u4f5c\uff1a<\/p>\n<p>\u9996\u5148\uff0c\u627e\u5230\u4f60\u7684Python\u7a0b\u5e8f\u6240\u5728\u7684\u8def\u5f84\uff0c\u4f8b\u5982 &quot;C:\\Python\\python.exe&quot;\u3002<\/p>\n<p>\u7136\u540e\uff0c\u53f3\u952e\u70b9\u51fb\u4f60\u60f3\u4fee\u6539\u7684\u6587\u4ef6\u7c7b\u578b\uff0c\u5e76\u9009\u62e9 &quot;\u5c5e\u6027&quot;\u3002<\/p>\n<p>\u5728\u5f39\u51fa\u7684 &quot;\u5e38\u89c4&quot; \u9009\u9879\u5361\u4e2d\uff0c\u70b9\u51fb &quot;\u66f4\u6539&quot; \u6309\u94ae\u3002<\/p>\n<p>\u70b9\u51fb &quot;\u6d4f\u89c8&quot; \u6309\u94ae\uff0c\u5e76\u627e\u5230\u4f60\u7684Python\u7a0b\u5e8f\u6240\u5728\u7684\u8def\u5f84\u3002<\/p>\n<p>\u9009\u62e9\u8be5\u7a0b\u5e8f\u5e76\u70b9\u51fb &quot;\u786e\u5b9a&quot;\u3002<\/p>\n<p>\u73b0\u5728\uff0c\u4f60\u7684Python\u7a0b\u5e8f\u5c06\u4f1a\u6210\u4e3a\u8be5\u6587\u4ef6\u7c7b\u578b\u7684\u9ed8\u8ba4\u6253\u5f00\u65b9\u5f0f\uff0c\u5e76\u51fa\u73b0\u5728&quot;\u6253\u5f00\u65b9\u5f0f&quot;\u7684\u5217\u8868\u4e2d\u3002\u4f60\u53ef\u4ee5\u6839\u636e\u9700\u8981\u9009\u62e9\u4f7f\u7528\u5b83\u6765\u6253\u5f00\u6587\u4ef6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u4f7fPython\u7a0b\u5e8f\u6210\u4e3a\u67d0\u7c7b\u578b\u6587\u4ef6\u7684\u9ed8\u8ba4\u6253\u5f00\u65b9\u5f0f\uff0c\u4e3b\u8981\u6709\u51e0\u4e2a\u6b65\u9aa4\uff1a\u7f16\u8f91Windows\u6ce8\u518c\u8868\u6765\u5173\u8054\u6587\u4ef6\u7c7b\u578b\u3001\u4f7f\u7528 [&hellip;]","protected":false},"author":3,"featured_media":175683,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/175681"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=175681"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/175681\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/175683"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=175681"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=175681"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=175681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}