{"id":1119358,"date":"2025-01-08T18:43:58","date_gmt":"2025-01-08T10:43:58","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1119358.html"},"modified":"2025-01-08T18:44:01","modified_gmt":"2025-01-08T10:44:01","slug":"%e4%b8%a4%e4%b8%aapython%e5%a6%82%e4%bd%95%e9%80%89%e6%8b%a9%e8%bf%9b%e5%85%a5%e5%ae%89%e8%a3%85%e8%b7%af%e5%be%84","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1119358.html","title":{"rendered":"\u4e24\u4e2apython\u5982\u4f55\u9009\u62e9\u8fdb\u5165\u5b89\u88c5\u8def\u5f84"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25082504\/705ff749-3466-42c5-8695-dad07798c2ae.webp\" alt=\"\u4e24\u4e2apython\u5982\u4f55\u9009\u62e9\u8fdb\u5165\u5b89\u88c5\u8def\u5f84\" \/><\/p>\n<p><p> <strong>\u5728Python\u5f00\u53d1\u4e2d\uff0c\u9009\u62e9\u6b63\u786e\u7684\u5b89\u88c5\u8def\u5f84\u662f\u81f3\u5173\u91cd\u8981\u7684<\/strong>\u3002\u9009\u62e9\u6b63\u786e\u7684\u5b89\u88c5\u8def\u5f84\u53ef\u4ee5\u907f\u514d\u8def\u5f84\u51b2\u7a81\u3001\u786e\u4fdd\u6240\u6709\u5305\u548c\u6a21\u5757\u6b63\u786e\u8fd0\u884c\u3001\u7b80\u5316\u5f00\u53d1\u548c\u90e8\u7f72\u8fc7\u7a0b\u3002\u5728\u9009\u62e9Python\u5b89\u88c5\u8def\u5f84\u65f6\uff0c\u9700\u8981\u8003\u8651\u4ee5\u4e0b\u51e0\u70b9\uff1a<strong>\u907f\u514d\u7cfb\u7edf\u8def\u5f84\u3001\u4f7f\u7528\u865a\u62df\u73af\u5883\u3001\u4e3a\u6bcf\u4e2a\u9879\u76ee\u5355\u72ec\u8bbe\u7f6e\u8def\u5f84<\/strong>\u3002\u5176\u4e2d\uff0c\u4f7f\u7528\u865a\u62df\u73af\u5883\u662f\u6700\u4e3a\u63a8\u8350\u7684\u65b9\u6cd5\uff0c\u5b83\u53ef\u4ee5\u9694\u79bb\u9879\u76ee\u4f9d\u8d56\uff0c\u907f\u514d\u7248\u672c\u51b2\u7a81\uff0c\u5e76\u4e14\u6613\u4e8e\u7ba1\u7406\u3002\u4ee5\u4e0b\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u9009\u62e9\u548c\u914d\u7f6ePython\u5b89\u88c5\u8def\u5f84\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u907f\u514d\u7cfb\u7edf\u8def\u5f84<\/p>\n<\/p>\n<p><p>\u5728\u5b89\u88c5Python\u65f6\uff0c\u907f\u514d\u5c06\u5176\u5b89\u88c5\u5728\u7cfb\u7edf\u8def\u5f84\uff08\u5982C:\\Windows\\System32\uff09\u4e2d\u3002\u8fd9\u6837\u505a\u6709\u51e0\u4e2a\u4e3b\u8981\u539f\u56e0\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u907f\u514d\u6743\u9650\u95ee\u9898<\/strong>\uff1a\u7cfb\u7edf\u8def\u5f84\u901a\u5e38\u9700\u8981\u7ba1\u7406\u5458\u6743\u9650\uff0c\u8fd9\u53ef\u80fd\u4f1a\u5728\u5b89\u88c5\u6216\u66f4\u65b0\u6a21\u5757\u65f6\u9047\u5230\u95ee\u9898\u3002<\/li>\n<li><strong>\u9632\u6b62\u8def\u5f84\u51b2\u7a81<\/strong>\uff1a\u5c06Python\u5b89\u88c5\u5728\u7cfb\u7edf\u8def\u5f84\u4e2d\u53ef\u80fd\u4f1a\u5bfc\u81f4\u4e0e\u5176\u4ed6\u8f6f\u4ef6\u7684\u51b2\u7a81\uff0c\u7279\u522b\u662f\u5f53\u591a\u4e2a\u7248\u672c\u7684Python\u5171\u5b58\u65f6\u3002<\/li>\n<li><strong>\u7b80\u5316\u7ba1\u7406<\/strong>\uff1a\u5c06Python\u5b89\u88c5\u5728\u7528\u6237\u76ee\u5f55\u6216\u81ea\u5b9a\u4e49\u8def\u5f84\u4e2d\uff0c\u53ef\u4ee5\u66f4\u65b9\u4fbf\u5730\u7ba1\u7406\u548c\u7ef4\u62a4\u4e0d\u540c\u7684Python\u7248\u672c\u3002<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u4f7f\u7528\u865a\u62df\u73af\u5883<\/p>\n<\/p>\n<p><p>\u865a\u62df\u73af\u5883\u662fPython\u4e2d\u975e\u5e38\u91cd\u8981\u7684\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u521b\u5efa\u72ec\u7acb\u7684Python\u73af\u5883\uff0c\u6bcf\u4e2a\u73af\u5883\u90fd\u6709\u81ea\u5df1\u7684\u5e93\u548c\u4f9d\u8d56\u3002\u4f7f\u7528\u865a\u62df\u73af\u5883\u7684\u4f18\u70b9\u5305\u62ec\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u9694\u79bb\u4f9d\u8d56<\/strong>\uff1a\u4e0d\u540c\u9879\u76ee\u53ef\u4ee5\u4f7f\u7528\u4e0d\u540c\u7248\u672c\u7684\u5e93\u800c\u4e0d\u4f1a\u4e92\u76f8\u5e72\u6270\u3002<\/li>\n<li><strong>\u7b80\u5316\u90e8\u7f72<\/strong>\uff1a\u53ef\u4ee5\u8f7b\u677e\u5730\u5c06\u9879\u76ee\u53ca\u5176\u4f9d\u8d56\u6253\u5305\u548c\u90e8\u7f72\u5230\u5176\u4ed6\u73af\u5883\u4e2d\u3002<\/li>\n<li><strong>\u7248\u672c\u63a7\u5236<\/strong>\uff1a\u53ef\u4ee5\u4e3a\u6bcf\u4e2a\u9879\u76ee\u4f7f\u7528\u7279\u5b9a\u7248\u672c\u7684Python\u548c\u5e93\uff0c\u907f\u514d\u7248\u672c\u51b2\u7a81\u3002<\/li>\n<\/ol>\n<p><p>\u4ee5\u4e0b\u662f\u5982\u4f55\u5728\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u521b\u5efa\u548c\u4f7f\u7528\u865a\u62df\u73af\u5883\u7684\u6b65\u9aa4\u3002<\/p>\n<\/p>\n<p><h3>Windows<\/h3>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5Python<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u4e0b\u8f7dPython\u5b89\u88c5\u7a0b\u5e8f\uff08exe\u6587\u4ef6\uff09\u5e76\u8fd0\u884c\u3002<\/li>\n<li>\u9009\u62e9\u201cAdd Python to PATH\u201d\u9009\u9879\uff0c\u7136\u540e\u70b9\u51fb\u201cCustomize installation\u201d\u3002<\/li>\n<li>\u5728\u201cAdvanced Options\u201d\u4e2d\uff0c\u9009\u62e9\u201cInstall for all users\u201d\u5e76\u8bbe\u7f6e\u81ea\u5b9a\u4e49\u5b89\u88c5\u8def\u5f84\uff0c\u4f8b\u5982C:\\Python39\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5virtualenv<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff08cmd\uff09\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5virtualenv\uff1a\n<pre><code class=\"language-bash\">pip install virtualenv<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u521b\u5efa\u865a\u62df\u73af\u5883<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u5bfc\u822a\u5230\u9879\u76ee\u76ee\u5f55\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u521b\u5efa\u865a\u62df\u73af\u5883\uff1a\n<pre><code class=\"language-bash\">virtualenv myenv<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\u8fd9\u5c06\u5728\u5f53\u524d\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u540d\u4e3amyenv\u7684\u865a\u62df\u73af\u5883\u76ee\u5f55\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u6fc0\u6d3b\u865a\u62df\u73af\u5883<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u6fc0\u6d3b\u865a\u62df\u73af\u5883\uff1a\n<pre><code class=\"language-bash\">myenv\\Scripts\\activate<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\u4f60\u4f1a\u770b\u5230\u547d\u4ee4\u63d0\u793a\u7b26\u524d\u9762\u51fa\u73b0(myenv)\uff0c\u8868\u793a\u865a\u62df\u73af\u5883\u5df2\u6fc0\u6d3b\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5\u9879\u76ee\u4f9d\u8d56<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u5728\u865a\u62df\u73af\u5883\u4e2d\u5b89\u88c5\u6240\u9700\u7684\u5e93\u548c\u4f9d\u8d56\uff1a\n<pre><code class=\"language-bash\">pip install requests<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><h3>macOS\u548cLinux<\/h3>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5Python<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u4f7f\u7528Homebrew\uff08macOS\uff09\u6216\u5305\u7ba1\u7406\u5668\uff08Linux\uff09\u5b89\u88c5Python\u3002\u4f8b\u5982\uff0c\u5728macOS\u4e0a\uff1a\n<pre><code class=\"language-bash\">brew install python<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5virtualenv<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u4f7f\u7528pip\u5b89\u88c5virtualenv\uff1a\n<pre><code class=\"language-bash\">pip3 install virtualenv<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u521b\u5efa\u865a\u62df\u73af\u5883<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u5bfc\u822a\u5230\u9879\u76ee\u76ee\u5f55\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u521b\u5efa\u865a\u62df\u73af\u5883\uff1a\n<pre><code class=\"language-bash\">virtualenv myenv<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\u8fd9\u5c06\u5728\u5f53\u524d\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u540d\u4e3amyenv\u7684\u865a\u62df\u73af\u5883\u76ee\u5f55\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u6fc0\u6d3b\u865a\u62df\u73af\u5883<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u6fc0\u6d3b\u865a\u62df\u73af\u5883\uff1a\n<pre><code class=\"language-bash\">source myenv\/bin\/activate<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\u4f60\u4f1a\u770b\u5230\u547d\u4ee4\u63d0\u793a\u7b26\u524d\u9762\u51fa\u73b0(myenv)\uff0c\u8868\u793a\u865a\u62df\u73af\u5883\u5df2\u6fc0\u6d3b\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5\u9879\u76ee\u4f9d\u8d56<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u5728\u865a\u62df\u73af\u5883\u4e2d\u5b89\u88c5\u6240\u9700\u7684\u5e93\u548c\u4f9d\u8d56\uff1a\n<pre><code class=\"language-bash\">pip install requests<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u4e3a\u6bcf\u4e2a\u9879\u76ee\u5355\u72ec\u8bbe\u7f6e\u8def\u5f84<\/p>\n<\/p>\n<p><p>\u5728\u4f7f\u7528Python\u8fdb\u884c\u5f00\u53d1\u65f6\uff0c\u4e3a\u6bcf\u4e2a\u9879\u76ee\u5355\u72ec\u8bbe\u7f6e\u5b89\u88c5\u8def\u5f84\u662f\u4e00\u4e2a\u597d\u4e60\u60ef\u3002\u8fd9\u6837\u53ef\u4ee5\u786e\u4fdd\u6bcf\u4e2a\u9879\u76ee\u90fd\u6709\u72ec\u7acb\u7684\u73af\u5883\uff0c\u907f\u514d\u4f9d\u8d56\u51b2\u7a81\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u6700\u4f73\u5b9e\u8df5\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u9879\u76ee\u76ee\u5f55\u7ed3\u6784<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u6bcf\u4e2a\u9879\u76ee\u5e94\u8be5\u6709\u81ea\u5df1\u7684\u76ee\u5f55\u7ed3\u6784\uff0c\u5305\u542b\u865a\u62df\u73af\u5883\u3001\u6e90\u7801\u548c\u4f9d\u8d56\u3002\u4f8b\u5982\uff1a\n<pre><code>my_project\/<\/p>\n<p>\u251c\u2500\u2500 myenv\/<\/p>\n<p>\u251c\u2500\u2500 src\/<\/p>\n<p>\u2514\u2500\u2500 requirements.txt<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>requirements.txt<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u4f7f\u7528requirements.txt\u6587\u4ef6\u8bb0\u5f55\u9879\u76ee\u4f9d\u8d56\u3002\u8fd9\u6837\u53ef\u4ee5\u65b9\u4fbf\u5730\u5728\u4e0d\u540c\u73af\u5883\u4e2d\u5b89\u88c5\u76f8\u540c\u7684\u4f9d\u8d56\u3002\u4f8b\u5982\uff1a\n<pre><code class=\"language-bash\">pip freeze &gt; requirements.txt<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\u5728\u65b0\u73af\u5883\u4e2d\u5b89\u88c5\u4f9d\u8d56\uff1a\n<pre><code class=\"language-bash\">pip install -r requirements.txt<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u7248\u672c\u63a7\u5236<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u4f7f\u7528\u7248\u672c\u63a7\u5236\u7cfb\u7edf\uff08\u5982Git\uff09\u7ba1\u7406\u9879\u76ee\u4ee3\u7801\u548c\u4f9d\u8d56\u3002\u5c06requirements.txt\u6587\u4ef6\u6dfb\u52a0\u5230\u7248\u672c\u63a7\u5236\u4e2d\uff0c\u53ef\u4ee5\u786e\u4fdd\u56e2\u961f\u6210\u5458\u4f7f\u7528\u76f8\u540c\u7684\u4f9d\u8d56\u7248\u672c\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u5728Python\u5f00\u53d1\u4e2d\uff0c\u9009\u62e9\u6b63\u786e\u7684\u5b89\u88c5\u8def\u5f84\u548c\u4f7f\u7528\u865a\u62df\u73af\u5883\u662f\u975e\u5e38\u91cd\u8981\u7684\u3002\u901a\u8fc7\u907f\u514d\u7cfb\u7edf\u8def\u5f84\u3001\u4f7f\u7528\u865a\u62df\u73af\u5883\u3001\u4e3a\u6bcf\u4e2a\u9879\u76ee\u5355\u72ec\u8bbe\u7f6e\u8def\u5f84\uff0c\u53ef\u4ee5\u786e\u4fdd\u5f00\u53d1\u73af\u5883\u7684\u72ec\u7acb\u6027\u548c\u7a33\u5b9a\u6027\u3002\u5e0c\u671b\u4ee5\u4e0a\u5185\u5bb9\u80fd\u591f\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u7ba1\u7406Python\u5f00\u53d1\u73af\u5883\uff0c\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u3002\u5982\u679c\u4f60\u8fd8\u6709\u5176\u4ed6\u95ee\u9898\u6216\u9700\u8981\u8fdb\u4e00\u6b65\u7684\u5e2e\u52a9\uff0c\u8bf7\u968f\u65f6\u8054\u7cfb\u6211\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Windows\u4e0a\u9009\u62e9Python\u7684\u5b89\u88c5\u8def\u5f84\uff1f<\/strong><br \/>\u5728Windows\u7cfb\u7edf\u4e2d\uff0c\u5b89\u88c5Python\u65f6\uff0c\u5b89\u88c5\u5411\u5bfc\u4f1a\u63d0\u4f9b\u4e00\u4e2a\u9ed8\u8ba4\u7684\u5b89\u88c5\u8def\u5f84\u3002\u7528\u6237\u53ef\u4ee5\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u9009\u62e9\u201cCustomize installation\u201d\u9009\u9879\uff0c\u7136\u540e\u5728\u201cAdvanced Options\u201d\u4e2d\u4fee\u6539\u5b89\u88c5\u8def\u5f84\u3002\u786e\u4fdd\u9009\u62e9\u4e00\u4e2a\u6613\u4e8e\u8bb0\u5fc6\u7684\u76ee\u5f55\uff0c\u5e76\u8003\u8651\u5c06\u5176\u6dfb\u52a0\u5230\u7cfb\u7edf\u7684\u73af\u5883\u53d8\u91cf\u4e2d\uff0c\u4ee5\u4fbf\u4e8e\u540e\u7eed\u4f7f\u7528\u3002<\/p>\n<p><strong>\u5728Linux\u7cfb\u7edf\u4e2d\u5982\u4f55\u9009\u62e9Python\u7684\u5b89\u88c5\u8def\u5f84\uff1f<\/strong><br \/>\u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u6e90\u4ee3\u7801\u7f16\u8bd1\u6216\u5305\u7ba1\u7406\u5668\u5b89\u88c5Python\u3002\u4f7f\u7528\u6e90\u4ee3\u7801\u65f6\uff0c\u53ef\u4ee5\u5728\u6267\u884c<code>.\/configure<\/code>\u547d\u4ee4\u65f6\u4f7f\u7528<code>--prefix<\/code>\u9009\u9879\u6307\u5b9a\u5b89\u88c5\u8def\u5f84\u3002\u4f8b\u5982\uff0c<code>.\/configure --prefix=\/usr\/local\/python3<\/code>\u3002\u4f7f\u7528\u5305\u7ba1\u7406\u5668\u65f6\uff0c\u901a\u5e38\u9ed8\u8ba4\u5b89\u88c5\u5230\u6307\u5b9a\u76ee\u5f55\uff0c\u7528\u6237\u53ef\u4ee5\u67e5\u770b\u76f8\u5173\u6587\u6863\u4ee5\u4e86\u89e3\u662f\u5426\u53ef\u4ee5\u81ea\u5b9a\u4e49\u8def\u5f84\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728macOS\u4e0a\u9009\u62e9Python\u7684\u5b89\u88c5\u8def\u5f84\uff1f<\/strong><br \/>\u5728macOS\u4e0a\uff0c\u4f7f\u7528Homebrew\u5b89\u88c5Python\u65f6\uff0c\u9ed8\u8ba4\u8def\u5f84\u901a\u5e38\u4f4d\u4e8e\/usr\/local\/Cellar\/<a href=\"mailto:python@3.x\">python@3.x<\/a>\/. \u5982\u679c\u5e0c\u671b\u81ea\u5b9a\u4e49\u8def\u5f84\uff0c\u53ef\u4ee5\u5728\u5b89\u88c5\u524d\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf\u6216\u4f7f\u7528<code>--prefix<\/code>\u9009\u9879\uff0c\u5177\u4f53\u65b9\u6cd5\u53d6\u51b3\u4e8e\u60a8\u5b89\u88c5\u7684\u65b9\u5f0f\u3002\u60a8\u4e5f\u53ef\u4ee5\u4f7f\u7528\u865a\u62df\u73af\u5883\uff08\u5982venv\u6216virtualenv\uff09\u6765\u521b\u5efa\u72ec\u7acb\u7684Python\u73af\u5883\uff0c\u5e76\u9009\u62e9\u5b58\u653e\u8def\u5f84\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u5f00\u53d1\u4e2d\uff0c\u9009\u62e9\u6b63\u786e\u7684\u5b89\u88c5\u8def\u5f84\u662f\u81f3\u5173\u91cd\u8981\u7684\u3002\u9009\u62e9\u6b63\u786e\u7684\u5b89\u88c5\u8def\u5f84\u53ef\u4ee5\u907f\u514d\u8def\u5f84\u51b2\u7a81\u3001\u786e\u4fdd\u6240\u6709\u5305\u548c\u6a21\u5757\u6b63\u786e [&hellip;]","protected":false},"author":3,"featured_media":1119366,"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\/1119358"}],"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=1119358"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1119358\/revisions"}],"predecessor-version":[{"id":1119368,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1119358\/revisions\/1119368"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1119366"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1119358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1119358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1119358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}