{"id":961916,"date":"2024-12-27T04:03:17","date_gmt":"2024-12-26T20:03:17","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/961916.html"},"modified":"2024-12-27T04:03:19","modified_gmt":"2024-12-26T20:03:19","slug":"%e5%a6%82%e4%bd%95%e5%ae%89%e8%a3%85python3-0","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/961916.html","title":{"rendered":"\u5982\u4f55\u5b89\u88c5python3.0"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25104015\/33f8dfc2-78cc-4116-b2d7-f17fb6686eb9.webp\" alt=\"\u5982\u4f55\u5b89\u88c5python3.0\" \/><\/p>\n<p><p> <strong>\u8981\u5b89\u88c5Python 3.0\uff0c\u4f60\u9700\u8981\u9996\u5148\u4ecePython\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u9002\u5408\u4f60\u64cd\u4f5c\u7cfb\u7edf\u7684\u5b89\u88c5\u5305\u3001\u7136\u540e\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u4ee5\u4fbf\u5728\u547d\u4ee4\u884c\u4e2d\u4f7f\u7528\u3002<\/strong>\u5176\u4e2d\uff0c\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u662f\u6700\u5173\u952e\u7684\u4e00\u6b65\uff0c\u56e0\u4e3a\u5b83\u5141\u8bb8\u4f60\u5728\u4efb\u4f55\u547d\u4ee4\u63d0\u793a\u7b26\u7a97\u53e3\u4e2d\u8fd0\u884cPython\u547d\u4ee4\uff0c\u800c\u4e0d\u5fc5\u5c06\u5f53\u524d\u76ee\u5f55\u66f4\u6539\u4e3aPython\u7684\u5b89\u88c5\u76ee\u5f55\u3002\u73b0\u5728\u8ba9\u6211\u4eec\u8be6\u7ec6\u5c55\u5f00\u6bcf\u4e00\u6b65\u9aa4\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4e0b\u8f7dPython 3.0<\/p>\n<\/p>\n<p><p>Python 3.0\u662f\u4e00\u4e2a\u76f8\u5bf9\u8f83\u8001\u7684\u7248\u672c\uff0c\u901a\u5e38\u5efa\u8bae\u4f7f\u7528\u8f83\u65b0\u7684\u7248\u672c\u4ee5\u83b7\u5f97\u6700\u65b0\u7684\u529f\u80fd\u548c\u5b89\u5168\u6027\u8865\u4e01\u3002\u7136\u800c\uff0c\u5982\u679c\u4f60\u6709\u7279\u6b8a\u9700\u6c42\u9700\u8981\u5b89\u88c53.0\u7248\u672c\uff0c\u4f60\u53ef\u4ee5\u4ecePython\u5b98\u65b9\u7f51\u7ad9\u7684\u65e7\u7248\u672c\u5b58\u6863\u4e2d\u4e0b\u8f7d\u3002\u8bbf\u95ee<a href=\"https:\/\/www.python.org\/ftp\/python\/\">Python\u5b98\u65b9\u7f51\u7ad9<\/a>\u5e76\u5bfc\u822a\u52303.0\u7248\u672c\u7684\u4e0b\u8f7d\u9875\u9762\u3002\u5728\u8fd9\u91cc\uff0c\u4f60\u53ef\u4ee5\u627e\u5230\u9002\u5408Windows\u3001macOS\u548cLinux\u7684\u4e0d\u540c\u5b89\u88c5\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<p><p>\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u4f60\u5c06\u5f97\u5230\u4e00\u4e2a\u5b89\u88c5\u7a0b\u5e8f\u6587\u4ef6\uff08\u4f8b\u5982\uff0c<code>.exe<\/code>\u6587\u4ef6\u7528\u4e8eWindows\uff0c<code>.pkg<\/code>\u6587\u4ef6\u7528\u4e8emacOS\uff09\u3002\u786e\u4fdd\u4e0b\u8f7d\u7684\u6587\u4ef6\u4e0e\u60a8\u7684\u64cd\u4f5c\u7cfb\u7edf\u5339\u914d\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Windows\u7528\u6237<\/strong>\uff1a\u53cc\u51fb\u4e0b\u8f7d\u7684<code>.exe<\/code>\u6587\u4ef6\u4ee5\u542f\u52a8\u5b89\u88c5\u7a0b\u5e8f\u3002\u901a\u5e38\uff0c\u5b89\u88c5\u7a0b\u5e8f\u4f1a\u63d0\u4f9b\u9ed8\u8ba4\u7684\u5b89\u88c5\u9009\u9879\uff0c\u8fd9\u4e9b\u9009\u9879\u9002\u7528\u4e8e\u5927\u591a\u6570\u7528\u6237\u3002\u4f60\u53ef\u4ee5\u9009\u62e9\u201c\u5b89\u88c5\u6240\u6709\u7528\u6237\u201d\u9009\u9879\uff0c\u4ee5\u4fbf\u5728\u7535\u8111\u4e0a\u7684\u6240\u6709\u7528\u6237\u90fd\u80fd\u4f7f\u7528Python\u3002\u63a5\u4e0b\u6765\uff0c\u786e\u4fdd\u52fe\u9009\u201cAdd Python to PATH\u201d\u9009\u9879\uff0c\u8fd9\u6837\u53ef\u4ee5\u81ea\u52a8\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3002\u70b9\u51fb\u201cInstall Now\u201d\u5f00\u59cb\u5b89\u88c5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>macOS\u7528\u6237<\/strong>\uff1a\u6253\u5f00\u4e0b\u8f7d\u7684<code>.pkg<\/code>\u6587\u4ef6\u5e76\u6309\u7167\u5c4f\u5e55\u4e0a\u7684\u8bf4\u660e\u8fdb\u884c\u64cd\u4f5c\u3002macOS\u7684\u5b89\u88c5\u7a0b\u5e8f\u901a\u5e38\u4f1a\u81ea\u52a8\u5904\u7406\u73af\u5883\u53d8\u91cf\u914d\u7f6e\uff0c\u4f46\u5982\u679c\u6ca1\u6709\uff0c\u4f60\u9700\u8981\u624b\u52a8\u8fdb\u884c\u8bbe\u7f6e\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Linux\u7528\u6237<\/strong>\uff1a\u5927\u591a\u6570Linux\u53d1\u884c\u7248\u90fd\u63d0\u4f9b\u4e86Python 3.0\u7684\u5305\u7ba1\u7406\u5668\u652f\u6301\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528<code>apt-get<\/code>\u3001<code>yum<\/code>\u6216<code>zypper<\/code>\u7b49\u5305\u7ba1\u7406\u5de5\u5177\u6765\u5b89\u88c5\u3002\u4f8b\u5982\uff0c\u5728\u57fa\u4e8eDebian\u7684\u7cfb\u7edf\u4e0a\uff0c\u4f60\u53ef\u4ee5\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code>sudo apt-get update<\/p>\n<p>sudo apt-get install python3.0<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/p>\n<\/p>\n<p><p>\u5728Windows\u7cfb\u7edf\u4e2d\uff0c\u73af\u5883\u53d8\u91cf\u7684\u914d\u7f6e\u53ef\u4ee5\u901a\u8fc7\u5b89\u88c5\u7a0b\u5e8f\u81ea\u52a8\u5b8c\u6210\uff0c\u4f46\u6709\u65f6\u53ef\u80fd\u9700\u8981\u624b\u52a8\u8bbe\u7f6e\u3002\u5982\u679c\u4f60\u6ca1\u6709\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u9009\u62e9\u81ea\u52a8\u914d\u7f6ePATH\u53d8\u91cf\uff0c\u4f60\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u624b\u52a8\u914d\u7f6e\uff1a<\/p>\n<\/p>\n<ol>\n<li>\u53f3\u952e\u70b9\u51fb\u201c\u6b64\u7535\u8111\u201d\u6216\u201c\u6211\u7684\u7535\u8111\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\u6309\u94ae\u3002<\/li>\n<li>\u5728\u201c\u7cfb\u7edf\u53d8\u91cf\u201d\u90e8\u5206\uff0c\u627e\u5230\u201cPath\u201d\u53d8\u91cf\u5e76\u9009\u62e9\u201c\u7f16\u8f91\u201d\u3002<\/li>\n<li>\u70b9\u51fb\u201c\u65b0\u5efa\u201d\u5e76\u6dfb\u52a0Python\u5b89\u88c5\u76ee\u5f55\u7684\u8def\u5f84\uff08\u4f8b\u5982\uff0c<code>C:\\Python30<\/code>\uff09\u3002<\/li>\n<li>\u70b9\u51fb\u201c\u786e\u5b9a\u201d\u4fdd\u5b58\u66f4\u6539\u3002<\/li>\n<\/ol>\n<p><p>\u5728macOS\u548cLinux\u7cfb\u7edf\u4e2d\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u7f16\u8f91<code>.bash_profile<\/code>\u6216<code>.bashrc<\/code>\u6587\u4ef6\u6765\u914d\u7f6ePATH\u53d8\u91cf\u3002\u6253\u5f00\u7ec8\u7aef\u5e76\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">echo &#39;export PATH=&quot;\/usr\/local\/bin\/python3:$PATH&quot;&#39; &gt;&gt; ~\/.bash_profile<\/p>\n<p>source ~\/.bash_profile<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u56db\u3001\u9a8c\u8bc1\u5b89\u88c5<\/p>\n<\/p>\n<p><p>\u5b8c\u6210\u5b89\u88c5\u548c\u73af\u5883\u53d8\u91cf\u914d\u7f6e\u540e\uff0c\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u6216\u7ec8\u7aef\u7a97\u53e3\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u6765\u9a8c\u8bc1Python 3.0\u662f\u5426\u5b89\u88c5\u6210\u529f\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3 --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5982\u679c\u5b89\u88c5\u6210\u529f\uff0c\u4f60\u5e94\u8be5\u4f1a\u770b\u5230Python 3.0\u7684\u7248\u672c\u53f7\u3002\u5982\u679c\u6ca1\u6709\uff0c\u8bf7\u68c0\u67e5\u73af\u5883\u53d8\u91cf\u914d\u7f6e\u6216\u91cd\u8bd5\u5b89\u88c5\u8fc7\u7a0b\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u5b89\u88c5\u540e\u914d\u7f6e\u548c\u6d4b\u8bd5<\/p>\n<\/p>\n<p><p>\u5b89\u88c5Python 3.0\u540e\uff0c\u4f60\u53ef\u80fd\u8fd8\u9700\u8981\u8fdb\u884c\u4e00\u4e9b\u914d\u7f6e\u4ee5\u6ee1\u8db3\u7279\u5b9a\u7684\u5f00\u53d1\u9700\u6c42\u3002\u4f8b\u5982\uff0c\u5b89\u88c5pip\uff08Python\u7684\u5305\u7ba1\u7406\u5de5\u5177\uff09\u4ee5\u4fbf\u4e8e\u5b89\u88c5\u548c\u7ba1\u7406\u5176\u4ed6Python\u5e93\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p>\u4e0b\u8f7d<code>get-pip.py<\/code>\u811a\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">curl https:\/\/bootstrap.pypa.io\/get-pip.py -o get-pip.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p>\u8fd0\u884c\u811a\u672c\u4ee5\u5b89\u88c5pip\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3 get-pip.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u9a8c\u8bc1pip\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip3 --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8cpip\u540e\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u5730\u5b89\u88c5\u5176\u4ed6Python\u5e93\u3002\u4f8b\u5982\uff0c\u5b89\u88c5<code>requests<\/code>\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip3 install requests<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u516d\u3001\u8bbe\u7f6e\u865a\u62df\u73af\u5883<\/p>\n<\/p>\n<p><p>\u5728\u5f00\u53d1Python\u9879\u76ee\u65f6\uff0c\u4f7f\u7528\u865a\u62df\u73af\u5883\u662f\u4e2a\u597d\u4e60\u60ef\u3002\u865a\u62df\u73af\u5883\u5141\u8bb8\u4f60\u5728\u4e00\u4e2a\u9879\u76ee\u4e2d\u4f7f\u7528\u7279\u5b9a\u7248\u672c\u7684Python\u548c\u5e93\uff0c\u800c\u4e0d\u5f71\u54cd\u7cfb\u7edf\u8303\u56f4\u7684Python\u5b89\u88c5\u3002<\/p>\n<\/p>\n<p><p>\u521b\u5efa\u865a\u62df\u73af\u5883\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3 -m venv myprojectenv<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6fc0\u6d3b\u865a\u62df\u73af\u5883\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>Windows<\/strong>\uff1a<code>myprojectenv\\Scripts\\activate<\/code><\/li>\n<li><strong>macOS\/Linux<\/strong>\uff1a<code>source myprojectenv\/bin\/activate<\/code><\/li>\n<\/ul>\n<p><p>\u6fc0\u6d3b\u540e\uff0c\u4f60\u7684\u547d\u4ee4\u63d0\u793a\u7b26\u4f1a\u663e\u793a\u865a\u62df\u73af\u5883\u7684\u540d\u79f0\uff0c\u8868\u660e\u4f60\u6b63\u5904\u4e8e\u8be5\u73af\u5883\u4e2d\u3002\u6b64\u65f6\uff0c\u6240\u6709\u4f7f\u7528pip\u5b89\u88c5\u7684\u5305\u90fd\u4f1a\u5b89\u88c5\u5230\u8be5\u865a\u62df\u73af\u5883\u4e2d\uff0c\u800c\u4e0d\u662f\u5168\u5c40\u73af\u5883\u3002<\/p>\n<\/p>\n<p><p>\u4e03\u3001\u5b89\u88c5IDLE\uff08\u53ef\u9009\uff09<\/p>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u5e0c\u671b\u4f7f\u7528Python\u7684\u56fe\u5f62\u5316\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDLE\uff09\uff0c\u53ef\u4ee5\u5728\u5b89\u88c5\u65f6\u9009\u62e9\u8be5\u9009\u9879\u3002IDLE\u662f\u4e00\u4e2a\u7b80\u5355\u7684IDE\uff0c\u9002\u5408\u521d\u5b66\u8005\u4f7f\u7528\uff0c\u63d0\u4f9b\u4e86\u4ee3\u7801\u7f16\u8f91\u3001\u6267\u884c\u548c\u8c03\u8bd5\u7684\u57fa\u672c\u529f\u80fd\u3002<\/p>\n<\/p>\n<p><p>\u516b\u3001\u68c0\u67e5\u548c\u66f4\u65b0<\/p>\n<\/p>\n<p><p>\u867d\u7136Python 3.0\u662f\u4e00\u4e2a\u8f83\u8001\u7684\u7248\u672c\uff0c\u4f60\u53ef\u80fd\u9700\u8981\u5b9a\u671f\u68c0\u67e5\u548c\u66f4\u65b0\u4ee5\u786e\u4fdd\u4f60\u4f7f\u7528\u7684\u662f\u6700\u65b0\u7684\u8865\u4e01\u7248\u672c\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u68c0\u67e5\u53ef\u7528\u66f4\u65b0\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip3 list --outdated<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f7f\u7528<code>pip3 install --upgrade [package_name]<\/code>\u6765\u66f4\u65b0\u7279\u5b9a\u7684\u5e93\u3002<\/p>\n<\/p>\n<p><p>\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u5b89\u88c5Python 3.0\u9700\u8981\u4e0b\u8f7d\u5408\u9002\u7684\u5b89\u88c5\u5305\u3001\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf\uff0c\u5e76\u5728\u5b89\u88c5\u5b8c\u6210\u540e\u8fdb\u884c\u4e00\u4e9b\u57fa\u672c\u914d\u7f6e\u548c\u9a8c\u8bc1\u3002\u901a\u8fc7\u8fd9\u4e9b\u6b65\u9aa4\uff0c\u4f60\u53ef\u4ee5\u5728\u4f60\u7684\u7cfb\u7edf\u4e0a\u6210\u529f\u5b89\u88c5\u548c\u4f7f\u7528Python 3.0\u3002\u65e0\u8bba\u4f60\u662f\u5f00\u53d1\u65b0\u9879\u76ee\u8fd8\u662f\u7ef4\u62a4\u65e7\u9879\u76ee\uff0c\u786e\u4fdd\u4f60\u7684\u5f00\u53d1\u73af\u5883\u914d\u7f6e\u6b63\u786e\u662f\u6210\u529f\u7684\u5173\u952e\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u786e\u8ba4\u6211\u7684\u64cd\u4f5c\u7cfb\u7edf\u662f\u5426\u652f\u6301Python 3.0\u7684\u5b89\u88c5\uff1f<\/strong><br \/>\u5728\u5b89\u88c5Python 3.0\u4e4b\u524d\uff0c\u9996\u5148\u9700\u8981\u68c0\u67e5\u60a8\u7684\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c\u3002Python 3.0\u652f\u6301Windows\u3001macOS\u548c\u5927\u591a\u6570Linux\u53d1\u884c\u7248\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u8bbf\u95ee\u7cfb\u7edf\u8bbe\u7f6e\u6216\u4f7f\u7528\u7ec8\u7aef\u547d\u4ee4\u6765\u67e5\u770b\u64cd\u4f5c\u7cfb\u7edf\u4fe1\u606f\uff0c\u786e\u4fdd\u5b83\u4e0ePython 3.0\u7684\u8981\u6c42\u517c\u5bb9\u3002<\/p>\n<p><strong>\u5b89\u88c5Python 3.0\u540e\uff0c\u5982\u4f55\u9a8c\u8bc1\u5b89\u88c5\u662f\u5426\u6210\u529f\uff1f<\/strong><br \/>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u9a8c\u8bc1Python 3.0\u662f\u5426\u6210\u529f\u5b89\u88c5\u975e\u5e38\u7b80\u5355\u3002\u60a8\u53ef\u4ee5\u6253\u5f00\u7ec8\u7aef\u6216\u547d\u4ee4\u63d0\u793a\u7b26\uff0c\u5e76\u8f93\u5165<code>python3 --version<\/code>\u6216<code>python --version<\/code>\u3002\u5982\u679c\u5b89\u88c5\u6210\u529f\uff0c\u5c06\u663e\u793aPython\u7684\u7248\u672c\u4fe1\u606f\u3002\u5982\u679c\u6ca1\u6709\u663e\u793a\uff0c\u53ef\u80fd\u9700\u8981\u68c0\u67e5\u7cfb\u7edf\u7684\u73af\u5883\u53d8\u91cf\u8bbe\u7f6e\u3002<\/p>\n<p><strong>\u6211\u53ef\u4ee5\u5728\u54ea\u91cc\u627e\u5230Python 3.0\u7684\u5b89\u88c5\u5305\u548c\u76f8\u5173\u6587\u6863\uff1f<\/strong><br \/>Python 3.0\u7684\u5b89\u88c5\u5305\u53ef\u4ee5\u5728Python\u7684\u5b98\u65b9\u7f51\u7ad9\u4e0a\u627e\u5230\uff0c\u901a\u5e38\u5728\u201c\u4e0b\u8f7d\u201d\u90e8\u5206\u53ef\u4ee5\u627e\u5230\u65e7\u7248\u672c\u7684\u94fe\u63a5\u3002\u6b64\u5916\uff0c\u5b98\u65b9\u6587\u6863\u4e2d\u63d0\u4f9b\u4e86\u8be6\u7ec6\u7684\u5b89\u88c5\u6307\u5357\u548c\u4f7f\u7528\u624b\u518c\uff0c\u5e2e\u52a9\u65b0\u624b\u7528\u6237\u66f4\u597d\u5730\u7406\u89e3Python\u7684\u57fa\u672c\u7528\u6cd5\u548c\u529f\u80fd\u3002\u8bbf\u95eepython.org\u83b7\u53d6\u66f4\u591a\u4fe1\u606f\u548c\u8d44\u6e90\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u5b89\u88c5Python 3.0\uff0c\u4f60\u9700\u8981\u9996\u5148\u4ecePython\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u9002\u5408\u4f60\u64cd\u4f5c\u7cfb\u7edf\u7684\u5b89\u88c5\u5305\u3001\u7136\u540e\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f\u3001\u914d\u7f6e [&hellip;]","protected":false},"author":3,"featured_media":961922,"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\/961916"}],"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=961916"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/961916\/revisions"}],"predecessor-version":[{"id":961924,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/961916\/revisions\/961924"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/961922"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=961916"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=961916"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=961916"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}