{"id":996913,"date":"2024-12-27T09:19:04","date_gmt":"2024-12-27T01:19:04","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/996913.html"},"modified":"2024-12-27T09:19:07","modified_gmt":"2024-12-27T01:19:07","slug":"%e5%a6%82%e4%bd%95%e5%8d%87%e7%ba%a7python%e8%bd%af%e4%bb%b6%e4%b8%8b%e8%bd%bd","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/996913.html","title":{"rendered":"\u5982\u4f55\u5347\u7ea7python\u8f6f\u4ef6\u4e0b\u8f7d"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25072949\/7d3f337c-419a-4e3a-b39c-4ded1090bf44.webp\" alt=\"\u5982\u4f55\u5347\u7ea7python\u8f6f\u4ef6\u4e0b\u8f7d\" \/><\/p>\n<p><p> \u5728\u5347\u7ea7Python\u8f6f\u4ef6\u65f6\uff0c\u6709\u51e0\u4e2a\u5173\u952e\u6b65\u9aa4\u548c\u65b9\u6cd5\u53ef\u4ee5\u786e\u4fdd\u987a\u5229\u5b8c\u6210\u3002<strong>\u9996\u5148\uff0c\u68c0\u67e5\u5f53\u524dPython\u7248\u672c\u3001\u4e0b\u8f7d\u5e76\u5b89\u88c5\u65b0\u7248\u672c\u3001\u66f4\u65b0\u73af\u5883\u53d8\u91cf\u3001\u9a8c\u8bc1\u5b89\u88c5<\/strong>\u3002\u5176\u4e2d\uff0c<strong>\u68c0\u67e5\u5f53\u524dPython\u7248\u672c<\/strong>\u662f\u975e\u5e38\u91cd\u8981\u7684\u4e00\u6b65\uff0c\u56e0\u4e3a\u5b83\u53ef\u4ee5\u5e2e\u52a9\u4f60\u4e86\u89e3\u662f\u5426\u9700\u8981\u5347\u7ea7\u4ee5\u53ca\u5347\u7ea7\u5230\u54ea\u4e2a\u7248\u672c\u6700\u5408\u9002\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u68c0\u67e5\u5f53\u524dPython\u7248\u672c<\/h3>\n<\/p>\n<p><p>\u5728\u5347\u7ea7\u4e4b\u524d\uff0c\u9996\u5148\u8981\u786e\u5b9a\u4f60\u5f53\u524d\u4f7f\u7528\u7684Python\u7248\u672c\u3002\u6253\u5f00\u547d\u4ee4\u884c\u6216\u7ec8\u7aef\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u6765\u68c0\u67e5Python\u7248\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6216\u8005\u5bf9\u4e8ePython 3\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3 --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u8fd9\u4e9b\u547d\u4ee4\uff0c\u4f60\u53ef\u4ee5\u67e5\u770b\u5230\u5f53\u524d\u5b89\u88c5\u7684Python\u7248\u672c\u53f7\u3002\u8fd9\u5c06\u5e2e\u52a9\u4f60\u51b3\u5b9a\u662f\u5426\u9700\u8981\u8fdb\u884c\u5347\u7ea7\u4ee5\u53ca\u5347\u7ea7\u5230\u54ea\u4e2a\u7248\u672c\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4e0b\u8f7d\u5e76\u5b89\u88c5\u65b0\u7248\u672c<\/h3>\n<\/p>\n<p><h4>1. \u4e0b\u8f7dPython<\/h4>\n<\/p>\n<p><p>\u524d\u5f80Python\u5b98\u65b9\u7f51\u7ad9\uff08<a href=\"https:\/\/www.python.org\/%EF%BC%89%E4%B8%8B%E8%BD%BD%E6%9C%80%E6%96%B0%E7%9A%84Python%E7%89%88%E6%9C%AC%E3%80%82%E5%9C%A8%E4%B8%8B%E8%BD%BD%E9%A1%B5%E9%9D%A2%E4%B8%AD%EF%BC%8C%E4%BD%A0%E5%8F%AF%E4%BB%A5%E7%9C%8B%E5%88%B0%E4%B8%8D%E5%90%8C%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%EF%BC%88Windows%E3%80%81macOS%E3%80%81Linux%EF%BC%89%E7%9A%84%E5%AE%89%E8%A3%85%E5%8C%85%E3%80%82%E9%80%89%E6%8B%A9%E4%B8%8E%E4%BD%A0%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E5%8C%B9%E9%85%8D%E7%9A%84%E5%AE%89%E8%A3%85%E5%8C%85%E8%BF%9B%E8%A1%8C%E4%B8%8B%E8%BD%BD%E3%80%82\">https:\/\/www.python.org\/\uff09\u4e0b\u8f7d\u6700\u65b0\u7684Python\u7248\u672c\u3002\u5728\u4e0b\u8f7d\u9875\u9762\u4e2d\uff0c\u4f60\u53ef\u4ee5\u770b\u5230\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\uff08Windows\u3001macOS\u3001Linux\uff09\u7684\u5b89\u88c5\u5305\u3002\u9009\u62e9\u4e0e\u4f60\u64cd\u4f5c\u7cfb\u7edf\u5339\u914d\u7684\u5b89\u88c5\u5305\u8fdb\u884c\u4e0b\u8f7d\u3002<\/a><\/p>\n<\/p>\n<p><h4>2. \u5b89\u88c5Python<\/h4>\n<\/p>\n<p><p>\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u53cc\u51fb\u5b89\u88c5\u5305\u5f00\u59cb\u5b89\u88c5\u3002\u5728Windows\u4e0a\uff0c\u5b89\u88c5\u7a0b\u5e8f\u4f1a\u63d0\u4f9b\u4e00\u4e2a\u9009\u9879\u6765\u5c06Python\u6dfb\u52a0\u5230\u7cfb\u7edf\u8def\u5f84\u4e2d\uff0c\u786e\u4fdd\u9009\u4e2d\u6b64\u9009\u9879\u4ee5\u4fbf\u4e8e\u540e\u7eed\u4f7f\u7528\u3002<\/p>\n<\/p>\n<p><p>\u5728macOS\u548cLinux\u4e0a\uff0c\u4f60\u53ef\u80fd\u9700\u8981\u4f7f\u7528\u547d\u4ee4\u884c\u6765\u5b89\u88c5\u4e0b\u8f7d\u7684Python\u5305\u3002\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\"># macOS<\/p>\n<p>brew install python<\/p>\n<h2><strong>Linux<\/strong><\/h2>\n<p>sudo apt-get install python3.x<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8bf7\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u66ff\u6362\u7248\u672c\u53f7\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u66f4\u65b0\u73af\u5883\u53d8\u91cf<\/h3>\n<\/p>\n<p><p>\u5728Windows\u4e0a\uff0c\u5b89\u88c5\u7a0b\u5e8f\u901a\u5e38\u4f1a\u81ea\u52a8\u66f4\u65b0\u73af\u5883\u53d8\u91cf\u3002\u4f46\u5982\u679c\u4f60\u53d1\u73b0\u5b89\u88c5\u540e\u65e0\u6cd5\u5728\u547d\u4ee4\u884c\u4e2d\u4f7f\u7528<code>python<\/code>\u547d\u4ee4\uff0c\u4f60\u53ef\u80fd\u9700\u8981\u624b\u52a8\u66f4\u65b0\u73af\u5883\u53d8\u91cf\u3002<\/p>\n<\/p>\n<ol>\n<li>\u53f3\u952e\u70b9\u51fb\u201c\u6b64\u7535\u8111\u201d\u6216\u201c\u8ba1\u7b97\u673a\u201d\uff0c\u9009\u62e9\u201c\u5c5e\u6027\u201d\u3002<\/li>\n<li>\u70b9\u51fb\u201c\u9ad8\u7ea7\u7cfb\u7edf\u8bbe\u7f6e\u201d\u3002<\/li>\n<li>\u5728\u201c\u7cfb\u7edf\u5c5e\u6027\u201d\u7a97\u53e3\u4e2d\uff0c\u70b9\u51fb\u201c\u73af\u5883\u53d8\u91cf\u201d\u3002<\/li>\n<li>\u627e\u5230\u201c\u7cfb\u7edf\u53d8\u91cf\u201d\u4e2d\u7684\u201cPath\u201d\uff0c\u53cc\u51fb\u8fdb\u884c\u7f16\u8f91\u3002<\/li>\n<li>\u6dfb\u52a0Python\u5b89\u88c5\u8def\u5f84\uff0c\u4f8b\u5982<code>C:\\Python39<\/code>\u3002<\/li>\n<\/ol>\n<p><h3>\u56db\u3001\u9a8c\u8bc1\u5b89\u88c5<\/h3>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u9700\u8981\u9a8c\u8bc1Python\u662f\u5426\u6b63\u786e\u5b89\u88c5\u5e76\u80fd\u591f\u6b63\u5e38\u5de5\u4f5c\u3002\u5728\u547d\u4ee4\u884c\u6216\u7ec8\u7aef\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6216<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3 --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u8fd4\u56de\u4f60\u521a\u521a\u5b89\u88c5\u7684Python\u7248\u672c\u53f7\uff0c\u786e\u4fdd\u663e\u793a\u7684\u662f\u4f60\u671f\u671b\u7684\u7248\u672c\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u5347\u7ea7Python\u8f6f\u4ef6\u5305<\/h3>\n<\/p>\n<p><p>\u5728\u5347\u7ea7Python\u672c\u8eab\u4e4b\u540e\uff0c\u4f60\u8fd8\u9700\u8981\u5347\u7ea7\u4f60\u7684Python\u8f6f\u4ef6\u5305\uff08\u5982pip\u3001setuptools\u7b49\uff09\uff0c\u4ee5\u786e\u4fdd\u5b83\u4eec\u4e0e\u65b0\u7248\u672c\u517c\u5bb9\u3002<\/p>\n<\/p>\n<p><h4>1. \u5347\u7ea7pip<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u5347\u7ea7pip\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python -m pip install --upgrade pip<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6216<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3 -m pip install --upgrade pip<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u5347\u7ea7\u5176\u4ed6\u8f6f\u4ef6\u5305<\/h4>\n<\/p>\n<p><p>\u4f60\u53ef\u4ee5\u4f7f\u7528pip\u6765\u5347\u7ea7\u6240\u6709\u5df2\u5b89\u88c5\u7684Python\u5305\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip list --outdated<\/p>\n<p>pip install --upgrade package_name<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7528\u4e0a\u8ff0\u547d\u4ee4\u67e5\u770b\u6240\u6709\u8fc7\u65f6\u7684\u8f6f\u4ef6\u5305\u5e76\u9010\u4e2a\u5347\u7ea7\u3002<\/p>\n<\/p>\n<p><h3>\u516d\u3001\u89e3\u51b3\u53ef\u80fd\u51fa\u73b0\u7684\u95ee\u9898<\/h3>\n<\/p>\n<p><h4>1. \u517c\u5bb9\u6027\u95ee\u9898<\/h4>\n<\/p>\n<p><p>\u5728\u5347\u7ea7Python\u540e\uff0c\u53ef\u80fd\u4f1a\u51fa\u73b0\u4e00\u4e9b\u65e7\u4ee3\u7801\u6216\u5305\u4e0e\u65b0\u7248\u672c\u4e0d\u517c\u5bb9\u7684\u60c5\u51b5\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u89e3\u51b3\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u68c0\u67e5\u7b2c\u4e09\u65b9\u5e93\u7684\u5b98\u65b9\u7f51\u7ad9\u6216\u6587\u6863\uff0c\u67e5\u770b\u662f\u5426\u6709\u9488\u5bf9\u65b0Python\u7248\u672c\u7684\u66f4\u65b0\u3002<\/li>\n<li>\u4f7f\u7528\u865a\u62df\u73af\u5883\u6765\u9694\u79bb\u9879\u76ee\uff0c\u786e\u4fdd\u6bcf\u4e2a\u9879\u76ee\u4f7f\u7528\u517c\u5bb9\u7684Python\u7248\u672c\u548c\u5305\u7248\u672c\u3002<\/li>\n<\/ul>\n<p><h4>2. \u73af\u5883\u53d8\u91cf\u95ee\u9898<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u9047\u5230\u547d\u4ee4\u884c\u4e2d\u627e\u4e0d\u5230Python\u7684\u95ee\u9898\uff0c\u786e\u4fdd\u73af\u5883\u53d8\u91cf\u5df2\u6b63\u786e\u8bbe\u7f6e\uff0c\u5e76\u91cd\u542f\u547d\u4ee4\u884c\u4ee5\u5e94\u7528\u66f4\u6539\u3002<\/p>\n<\/p>\n<p><h3>\u4e03\u3001\u4f7f\u7528\u865a\u62df\u73af\u5883\u7ba1\u7406Python\u7248\u672c<\/h3>\n<\/p>\n<p><p>\u4e3a\u4e86\u907f\u514d\u5728\u4e0d\u540c\u9879\u76ee\u4e4b\u95f4\u7684Python\u7248\u672c\u51b2\u7a81\uff0c\u5efa\u8bae\u4f7f\u7528\u865a\u62df\u73af\u5883\u3002Python\u81ea\u5e26\u7684<code>venv<\/code>\u6a21\u5757\u53ef\u4ee5\u5e2e\u52a9\u4f60\u521b\u5efa\u548c\u7ba1\u7406\u865a\u62df\u73af\u5883\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\"># \u521b\u5efa\u865a\u62df\u73af\u5883<\/p>\n<p>python -m venv myenv<\/p>\n<h2><strong>\u6fc0\u6d3b\u865a\u62df\u73af\u5883<\/strong><\/h2>\n<h2><strong>Windows<\/strong><\/h2>\n<p>myenv\\Scripts\\activate<\/p>\n<h2><strong>macOS\/Linux<\/strong><\/h2>\n<p>source myenv\/bin\/activate<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u6fc0\u6d3b\u7684\u865a\u62df\u73af\u5883\u4e2d\uff0c\u4f60\u53ef\u4ee5\u5355\u72ec\u7ba1\u7406Python\u7248\u672c\u548c\u5305\uff0c\u8fd9\u6837\u53ef\u4ee5\u786e\u4fdd\u4e0d\u540c\u9879\u76ee\u4e4b\u95f4\u7684\u72ec\u7acb\u6027\u3002<\/p>\n<\/p>\n<p><h3>\u516b\u3001\u5907\u4efd\u548c\u8fd8\u539f<\/h3>\n<\/p>\n<p><p>\u5728\u8fdb\u884c\u91cd\u5927\u5347\u7ea7\u6216\u66f4\u6539\u4e4b\u524d\uff0c\u5907\u4efd\u4f60\u7684\u9879\u76ee\u548c\u76f8\u5173\u73af\u5883\u914d\u7f6e\u662f\u4e00\u4e2a\u597d\u4e60\u60ef\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u7248\u672c\u63a7\u5236\u7cfb\u7edf\uff08\u5982Git\uff09\u6765\u8ddf\u8e2a\u4ee3\u7801\u66f4\u6539\uff0c\u5e76\u4f7f\u7528\u5de5\u5177\uff08\u5982<code>pip freeze<\/code>\uff09\u6765\u8bb0\u5f55\u5f53\u524d\u7684\u5305\u4f9d\u8d56\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip freeze &gt; requirements.txt<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u9700\u8981\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u6062\u590d\u5305\u4f9d\u8d56\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install -r requirements.txt<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e5d\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5347\u7ea7Python\u8f6f\u4ef6\u662f\u4e00\u4e2a\u5fc5\u8981\u4e14\u5e38\u89c1\u7684\u4efb\u52a1\uff0c\u53ef\u4ee5\u8ba9\u4f60\u4eab\u53d7\u5230\u65b0\u7248\u672c\u5e26\u6765\u7684\u6027\u80fd\u63d0\u5347\u548c\u65b0\u7279\u6027\u3002\u5728\u6574\u4e2a\u8fc7\u7a0b\u4e2d\uff0c\u786e\u4fdd\u4f60\u9075\u5faa\u6b63\u786e\u7684\u6b65\u9aa4\uff0c\u5982\u68c0\u67e5\u5f53\u524d\u7248\u672c\u3001\u4e0b\u8f7d\u65b0\u7248\u672c\u3001\u66f4\u65b0\u73af\u5883\u53d8\u91cf\u3001\u9a8c\u8bc1\u5b89\u88c5\u3001\u5347\u7ea7\u8f6f\u4ef6\u5305\u7b49\u3002\u6b64\u5916\uff0c\u4f7f\u7528\u865a\u62df\u73af\u5883\u548c\u5907\u4efd\u7b56\u7565\u53ef\u4ee5\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u7ba1\u7406\u9879\u76ee\u548c\u7248\u672c\u4f9d\u8d56\uff0c\u51cf\u5c11\u5347\u7ea7\u5e26\u6765\u7684\u98ce\u9669\u3002\u901a\u8fc7\u672c\u6587\u7684\u6307\u5bfc\uff0c\u76f8\u4fe1\u4f60\u80fd\u591f\u987a\u5229\u5b8c\u6210Python\u8f6f\u4ef6\u7684\u5347\u7ea7\uff0c\u5e76\u7ee7\u7eed\u9ad8\u6548\u5730\u8fdb\u884c\u5f00\u53d1\u5de5\u4f5c\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u786e\u8ba4\u6211\u5f53\u524d\u4f7f\u7528\u7684Python\u7248\u672c\uff1f<\/strong><br \/>\u8981\u786e\u8ba4\u60a8\u5f53\u524d\u4f7f\u7528\u7684Python\u7248\u672c\uff0c\u53ef\u4ee5\u5728\u7ec8\u7aef\u6216\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8f93\u5165<code>python --version<\/code>\u6216<code>python3 --version<\/code>\u3002\u8fd9\u5c06\u663e\u793a\u60a8\u5df2\u5b89\u88c5\u7684Python\u7248\u672c\u4fe1\u606f\u3002\u5982\u679c\u60a8\u4f7f\u7528\u7684\u662fAnaconda\u73af\u5883\uff0c\u53ef\u4ee5\u8f93\u5165<code>conda list python<\/code>\u6765\u67e5\u770b\u5f53\u524d\u7684Python\u7248\u672c\u3002<\/p>\n<p><strong>\u5728Windows\u4e0a\u5982\u4f55\u5347\u7ea7Python\uff1f<\/strong><br \/>\u5728Windows\u4e0a\u5347\u7ea7Python\uff0c\u60a8\u53ef\u4ee5\u8bbf\u95eePython\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u6700\u65b0\u7248\u672c\u7684\u5b89\u88c5\u7a0b\u5e8f\u3002\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f\u65f6\uff0c\u786e\u4fdd\u9009\u4e2d\u201cUpgrade Now\u201d\u9009\u9879\u3002\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u60a8\u8fd8\u53ef\u4ee5\u9009\u62e9\u6dfb\u52a0Python\u5230\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\uff0c\u8fd9\u6837\u53ef\u4ee5\u66f4\u65b9\u4fbf\u5730\u5728\u547d\u4ee4\u884c\u4e2d\u4f7f\u7528Python\u3002<\/p>\n<p><strong>\u5347\u7ea7Python\u540e\u9700\u8981\u91cd\u65b0\u5b89\u88c5\u4f9d\u8d56\u5e93\u5417\uff1f<\/strong><br \/>\u5728\u5347\u7ea7Python\u7248\u672c\u540e\uff0c\u901a\u5e38\u9700\u8981\u68c0\u67e5\u5e76\u91cd\u65b0\u5b89\u88c5\u9879\u76ee\u6240\u4f9d\u8d56\u7684\u7b2c\u4e09\u65b9\u5e93\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528<code>pip freeze &gt; requirements.txt<\/code>\u547d\u4ee4\u5bfc\u51fa\u5f53\u524d\u73af\u5883\u4e2d\u7684\u6240\u6709\u5e93\uff0c\u7136\u540e\u5728\u65b0\u7248\u672c\u7684Python\u73af\u5883\u4e2d\u8fd0\u884c<code>pip install -r requirements.txt<\/code>\u6765\u5b89\u88c5\u8fd9\u4e9b\u4f9d\u8d56\u5e93\u3002\u8fd9\u80fd\u786e\u4fdd\u60a8\u7684\u9879\u76ee\u5728\u65b0\u7248\u672c\u7684Python\u4e2d\u6b63\u5e38\u8fd0\u884c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728\u5347\u7ea7Python\u8f6f\u4ef6\u65f6\uff0c\u6709\u51e0\u4e2a\u5173\u952e\u6b65\u9aa4\u548c\u65b9\u6cd5\u53ef\u4ee5\u786e\u4fdd\u987a\u5229\u5b8c\u6210\u3002\u9996\u5148\uff0c\u68c0\u67e5\u5f53\u524dPython\u7248\u672c\u3001\u4e0b\u8f7d\u5e76\u5b89\u88c5\u65b0\u7248 [&hellip;]","protected":false},"author":3,"featured_media":996920,"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\/996913"}],"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=996913"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/996913\/revisions"}],"predecessor-version":[{"id":996925,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/996913\/revisions\/996925"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/996920"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=996913"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=996913"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=996913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}