{"id":1071283,"date":"2025-01-08T11:05:57","date_gmt":"2025-01-08T03:05:57","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1071283.html"},"modified":"2025-01-08T11:06:00","modified_gmt":"2025-01-08T03:06:00","slug":"%e5%88%9a%e5%ae%89%e8%a3%85%e7%9a%84python3-8%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1071283.html","title":{"rendered":"\u521a\u5b89\u88c5\u7684python3.8\u5982\u4f55\u4f7f\u7528"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25101836\/5eb3e3ba-0dc2-4c8b-9948-1866aadf1016.webp\" alt=\"\u521a\u5b89\u88c5\u7684python3.8\u5982\u4f55\u4f7f\u7528\" \/><\/p>\n<p><p> <strong>\u521a\u5b89\u88c5\u7684Python3.8\u5982\u4f55\u4f7f\u7528<\/strong><\/p>\n<\/p>\n<p><p><strong>\u521a\u5b89\u88c5\u7684Python3.8\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u4f7f\u7528\uff1a\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3001\u4f7f\u7528Python\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668\u3001\u7f16\u5199\u548c\u8fd0\u884cPython\u811a\u672c\u3001\u5b89\u88c5\u548c\u4f7f\u7528pip\u5305\u7ba1\u7406\u5de5\u5177\u3002<\/strong> \u5176\u4e2d\uff0c<strong>\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/strong>\u662f\u786e\u4fdd\u5728\u547d\u4ee4\u884c\u4e2d\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528<code>python<\/code>\u547d\u4ee4\uff0c\u800c\u4e0d\u9700\u8981\u6307\u5b9a\u5b8c\u6574\u8def\u5f84\u7684\u5173\u952e\u6b65\u9aa4\u3002\u4ee5\u4e0b\u5185\u5bb9\u5c06\u5bf9\u8fd9\u4e9b\u65b9\u5f0f\u8fdb\u884c\u8be6\u7ec6\u4ecb\u7ecd\uff0c\u5e76\u63d0\u4f9b\u4e00\u4e9b\u4e2a\u4eba\u7ecf\u9a8c\u548c\u89c1\u89e3\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/h3>\n<\/p>\n<p><p>\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u662f\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u77e5\u9053Python\u7684\u5b89\u88c5\u8def\u5f84\uff0c\u8fd9\u6837\u53ef\u4ee5\u5728\u4efb\u4f55\u76ee\u5f55\u4e0b\u4f7f\u7528Python\u547d\u4ee4\u3002<\/p>\n<\/p>\n<p><h4>Windows\u7cfb\u7edf<\/h4>\n<\/p>\n<ol>\n<li><strong>\u627e\u5230Python\u7684\u5b89\u88c5\u8def\u5f84<\/strong>\uff1a\u901a\u5e38\u5728<code>C:\\Users\\&lt;YourUsername&gt;\\AppData\\Local\\Programs\\Python\\Python38<\/code>\u3002<\/li>\n<li><strong>\u6253\u5f00\u73af\u5883\u53d8\u91cf\u8bbe\u7f6e<\/strong>\uff1a\u53f3\u952e\u70b9\u51fb\u201c\u6b64\u7535\u8111\u201d\u6216\u201c\u6211\u7684\u7535\u8111\u201d\uff0c\u9009\u62e9\u201c\u5c5e\u6027\u201d\uff0c\u7136\u540e\u70b9\u51fb\u201c\u9ad8\u7ea7\u7cfb\u7edf\u8bbe\u7f6e\u201d\uff0c\u5728\u5f39\u51fa\u7684\u7a97\u53e3\u4e2d\u70b9\u51fb\u201c\u73af\u5883\u53d8\u91cf\u201d\u3002<\/li>\n<li><strong>\u7f16\u8f91PATH\u53d8\u91cf<\/strong>\uff1a\u5728\u201c\u7cfb\u7edf\u53d8\u91cf\u201d\u90e8\u5206\u627e\u5230\u5e76\u9009\u62e9\u201cPath\u201d\uff0c\u70b9\u51fb\u201c\u7f16\u8f91\u201d\uff0c\u7136\u540e\u5728\u5f39\u51fa\u7684\u7a97\u53e3\u4e2d\u70b9\u51fb\u201c\u65b0\u5efa\u201d\uff0c\u5c06Python\u7684\u5b89\u88c5\u8def\u5f84\u548cScripts\u76ee\u5f55\uff08\u4f8b\u5982<code>C:\\Users\\&lt;YourUsername&gt;\\AppData\\Local\\Programs\\Python\\Python38\\Scripts<\/code>\uff09\u6dfb\u52a0\u8fdb\u53bb\u3002<\/li>\n<\/ol>\n<p><h4>macOS\u548cLinux\u7cfb\u7edf<\/h4>\n<\/p>\n<ol>\n<li><strong>\u6253\u5f00\u7ec8\u7aef<\/strong>\uff1a\u53ef\u4ee5\u4f7f\u7528\u5feb\u6377\u952e<code>Command + Space<\/code>\uff0c\u8f93\u5165\u201cTerminal\u201d\u5e76\u6253\u5f00\u3002<\/li>\n<li><strong>\u7f16\u8f91Shell\u914d\u7f6e\u6587\u4ef6<\/strong>\uff1a\u6839\u636e\u60a8\u4f7f\u7528\u7684Shell\u7c7b\u578b\uff0c\u7f16\u8f91\u76f8\u5e94\u7684\u6587\u4ef6\u3002\u4f8b\u5982\uff0c\u5bf9\u4e8e<code>bash<\/code>\uff0c\u7f16\u8f91<code>~\/.bashrc<\/code>\u6216<code>~\/.bash_profile<\/code>\u6587\u4ef6\uff1b\u5bf9\u4e8e<code>zsh<\/code>\uff0c\u7f16\u8f91<code>~\/.zshrc<\/code>\u6587\u4ef6\u3002<\/li>\n<li><strong>\u6dfb\u52a0Python\u8def\u5f84<\/strong>\uff1a\u5728\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9\uff1a\n<pre><code class=\"language-sh\">export PATH=&quot;\/usr\/local\/bin\/python3.8:$PATH&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li><strong>\u4fdd\u5b58\u5e76\u91cd\u65b0\u52a0\u8f7d\u914d\u7f6e\u6587\u4ef6<\/strong>\uff1a\u4fdd\u5b58\u6587\u4ef6\u540e\uff0c\u8fd0\u884c<code>source ~\/.bashrc<\/code>\u6216<code>source ~\/.zshrc<\/code>\u547d\u4ee4\u4f7f\u66f4\u6539\u751f\u6548\u3002<\/li>\n<\/ol>\n<p><h3>\u4e8c\u3001\u4f7f\u7528Python\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668<\/h3>\n<\/p>\n<p><p>Python\u81ea\u5e26\u4e00\u4e2a\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668\uff0c\u53ef\u4ee5\u76f4\u63a5\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165Python\u4ee3\u7801\u5e76\u7acb\u5373\u770b\u5230\u7ed3\u679c\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u542f\u52a8\u89e3\u91ca\u5668<\/strong>\uff1a\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165<code>python<\/code>\u6216<code>python3.8<\/code>\uff0c\u56de\u8f66\u540e\u5c06\u8fdb\u5165Python\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668\u3002<\/li>\n<li><strong>\u8f93\u5165\u4ee3\u7801<\/strong>\uff1a\u5728\u63d0\u793a\u7b26<code>&gt;&gt;&gt;<\/code>\u540e\u8f93\u5165Python\u4ee3\u7801\uff0c\u4f8b\u5982\uff1a\n<pre><code class=\"language-python\">&gt;&gt;&gt; print(&quot;Hello, Python 3.8!&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u8fd9\u5c06\u8f93\u51fa\uff1a<\/p>\n<pre><code class=\"language-python\">Hello, Python 3.8!<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li><strong>\u9000\u51fa\u89e3\u91ca\u5668<\/strong>\uff1a\u8f93\u5165<code>exit()<\/code>\u6216\u6309<code>Ctrl + D<\/code>\u5373\u53ef\u9000\u51fa\u3002<\/li>\n<\/ol>\n<p><h3>\u4e09\u3001\u7f16\u5199\u548c\u8fd0\u884cPython\u811a\u672c<\/h3>\n<\/p>\n<p><p>\u7f16\u5199Python\u811a\u672c\u662f\u8fdb\u884c\u590d\u6742\u7f16\u7a0b\u4efb\u52a1\u7684\u4e3b\u8981\u65b9\u5f0f\u3002Python\u811a\u672c\u662f\u5305\u542bPython\u4ee3\u7801\u7684\u6587\u672c\u6587\u4ef6\uff0c\u901a\u5e38\u4ee5<code>.py<\/code>\u4e3a\u6269\u5c55\u540d\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u521b\u5efa\u811a\u672c\u6587\u4ef6<\/strong>\uff1a\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\uff08\u5982VSCode\u3001Sublime Text\u3001Notepad++\u7b49\uff09\u521b\u5efa\u4e00\u4e2a\u65b0\u6587\u4ef6\uff0c\u5e76\u4fdd\u5b58\u4e3a<code>example.py<\/code>\u3002<\/li>\n<li><strong>\u7f16\u5199\u4ee3\u7801<\/strong>\uff1a\u5728\u6587\u4ef6\u4e2d\u7f16\u5199Python\u4ee3\u7801\uff0c\u4f8b\u5982\uff1a\n<pre><code class=\"language-python\"># example.py<\/p>\n<p>def greet(name):<\/p>\n<p>    return f&quot;Hello, {name}!&quot;<\/p>\n<p>if __name__ == &quot;__m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n__&quot;:<\/p>\n<p>    name = input(&quot;Enter your name: &quot;)<\/p>\n<p>    print(greet(name))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li><strong>\u8fd0\u884c\u811a\u672c<\/strong>\uff1a\u5728\u547d\u4ee4\u884c\u4e2d\u5bfc\u822a\u5230\u811a\u672c\u6240\u5728\u76ee\u5f55\uff0c\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a\n<pre><code class=\"language-sh\">python example.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u8f93\u5165\u540d\u5b57\u540e\u5c06\u770b\u5230\u76f8\u5e94\u7684\u8f93\u51fa\u3002<\/li>\n<\/p>\n<\/ol>\n<p><h3>\u56db\u3001\u5b89\u88c5\u548c\u4f7f\u7528pip\u5305\u7ba1\u7406\u5de5\u5177<\/h3>\n<\/p>\n<p><p>pip\u662fPython\u7684\u5305\u7ba1\u7406\u5de5\u5177\uff0c\u7528\u4e8e\u5b89\u88c5\u548c\u7ba1\u7406Python\u5305\u3002Python3.8\u81ea\u5e26pip\uff0c\u4e0b\u9762\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528pip\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u68c0\u67e5pip\u662f\u5426\u5b89\u88c5<\/strong>\uff1a\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165<code>pip --version<\/code>\uff0c\u5982\u679c\u770b\u5230\u7248\u672c\u4fe1\u606f\u8bf4\u660epip\u5df2\u5b89\u88c5\u3002<\/li>\n<li><strong>\u5b89\u88c5\u5305<\/strong>\uff1a\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5Python\u5305\uff0c\u4f8b\u5982\u5b89\u88c5<code>requests<\/code>\u5e93\uff1a\n<pre><code class=\"language-sh\">pip install requests<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li><strong>\u4f7f\u7528\u5b89\u88c5\u7684\u5305<\/strong>\uff1a\u5728Python\u811a\u672c\u4e2d\u5bfc\u5165\u5e76\u4f7f\u7528\u5b89\u88c5\u7684\u5305\uff0c\u4f8b\u5982\uff1a\n<pre><code class=\"language-python\"># example_requests.py<\/p>\n<p>import requests<\/p>\n<p>response = requests.get(&quot;https:\/\/api.github.com&quot;)<\/p>\n<p>print(response.status_code)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li><strong>\u5347\u7ea7pip<\/strong>\uff1a\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5347\u7ea7pip\u5230\u6700\u65b0\u7248\u672c\uff1a\n<pre><code class=\"language-sh\">pip install --upgrade pip<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4e94\u3001\u5e38\u89c1\u95ee\u9898\u4e0e\u89e3\u51b3\u65b9\u6848<\/h3>\n<\/p>\n<p><h4>1. Python\u547d\u4ee4\u65e0\u6cd5\u8bc6\u522b<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165<code>python<\/code>\u6216<code>python3.8<\/code>\u540e\u663e\u793a\u201c\u547d\u4ee4\u672a\u627e\u5230\u201d\uff0c\u53ef\u80fd\u662f\u73af\u5883\u53d8\u91cf\u6ca1\u6709\u914d\u7f6e\u6b63\u786e\u3002\u8bf7\u68c0\u67e5\u914d\u7f6e\u8def\u5f84\u662f\u5426\u6b63\u786e\uff0c\u5e76\u786e\u4fdd\u5df2\u4fdd\u5b58\u548c\u91cd\u65b0\u52a0\u8f7d\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><h4>2. pip\u5b89\u88c5\u5305\u5931\u8d25<\/h4>\n<\/p>\n<p><p>\u6709\u65f6\u5019\u5728\u4f7f\u7528pip\u5b89\u88c5\u5305\u65f6\u53ef\u80fd\u4f1a\u9047\u5230\u7f51\u7edc\u95ee\u9898\u5bfc\u81f4\u5b89\u88c5\u5931\u8d25\u3002\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528\u56fd\u5185\u955c\u50cf\u6e90\uff0c\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-sh\">pip install requests -i https:\/\/pypi.tuna.tsinghua.edu.cn\/simple<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3. \u7248\u672c\u51b2\u7a81<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u7cfb\u7edf\u4e2d\u5b89\u88c5\u4e86\u591a\u4e2aPython\u7248\u672c\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u7248\u672c\u51b2\u7a81\u3002\u53ef\u4ee5\u4f7f\u7528\u865a\u62df\u73af\u5883\u6765\u9694\u79bb\u4e0d\u540c\u9879\u76ee\u7684\u4f9d\u8d56\u3002\u521b\u5efa\u865a\u62df\u73af\u5883\u7684\u65b9\u6cd5\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-sh\">python -m venv myenv<\/p>\n<p>source myenv\/bin\/activate  # macOS\u548cLinux<\/p>\n<p>myenv\\Scripts\\activate  # Windows<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6fc0\u6d3b\u865a\u62df\u73af\u5883\u540e\uff0c\u6240\u6709\u5b89\u88c5\u7684\u5305\u90fd\u4f1a\u5728\u8be5\u73af\u5883\u4e2d\uff0c\u907f\u514d\u4e0e\u7cfb\u7edfPython\u51b2\u7a81\u3002<\/p>\n<\/p>\n<p><h3>\u516d\u3001\u5b66\u4e60\u8d44\u6e90\u4e0e\u793e\u533a\u652f\u6301<\/h3>\n<\/p>\n<p><p>\u521a\u5f00\u59cb\u4f7f\u7528Python\u65f6\uff0c\u638c\u63e1\u57fa\u7840\u77e5\u8bc6\u540e\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u8d44\u6e90\u8fdb\u4e00\u6b65\u5b66\u4e60\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u5b98\u65b9\u6587\u6863<\/strong>\uff1aPython\u5b98\u65b9\u6587\u6863\u662f\u6700\u6743\u5a01\u7684\u8d44\u6e90\uff0c\u6db5\u76d6\u4e86Python\u6240\u6709\u529f\u80fd\u548c\u5e93\u7684\u8be6\u7ec6\u4ecb\u7ecd\u3002<\/li>\n<li><strong>\u5728\u7ebf\u8bfe\u7a0b<\/strong>\uff1a\u5982Coursera\u3001edX\u3001Udemy\u7b49\u63d0\u4f9b\u7684Python\u8bfe\u7a0b\uff0c\u9002\u5408\u7cfb\u7edf\u6027\u5b66\u4e60\u3002<\/li>\n<li><strong>\u793e\u533a\u652f\u6301<\/strong>\uff1aStack Overflow\u3001Reddit\u3001GitHub\u7b49\u793e\u533a\u53ef\u4ee5\u5e2e\u52a9\u89e3\u51b3\u7f16\u7a0b\u4e2d\u7684\u7591\u96be\u95ee\u9898\uff0c\u5e76\u63d0\u4f9b\u4e30\u5bcc\u7684\u5f00\u6e90\u9879\u76ee\u4f5c\u4e3a\u5b66\u4e60\u53c2\u8003\u3002<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u6b65\u9aa4\u548c\u8d44\u6e90\uff0c\u60a8\u53ef\u4ee5\u5feb\u901f\u4e0a\u624bPython3.8\uff0c\u5e76\u5728\u5b9e\u8df5\u4e2d\u4e0d\u65ad\u63d0\u5347\u81ea\u5df1\u7684\u7f16\u7a0b\u80fd\u529b\u3002\u795d\u60a8\u5b66\u4e60\u6109\u5feb\uff01<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u9a8c\u8bc1\u6211\u5b89\u88c5\u7684Python 3.8\u662f\u5426\u5de5\u4f5c\u6b63\u5e38\uff1f<\/strong><br \/>\u8981\u786e\u8ba4Python 3.8\u662f\u5426\u6b63\u786e\u5b89\u88c5\uff0c\u53ef\u4ee5\u6253\u5f00\u547d\u4ee4\u884c\u6216\u7ec8\u7aef\uff0c\u8f93\u5165<code>python --version<\/code>\u6216<code>python3 --version<\/code>\u3002\u5982\u679c\u5b89\u88c5\u6210\u529f\uff0c\u4f60\u4f1a\u770b\u5230Python 3.8\u7684\u7248\u672c\u4fe1\u606f\u3002\u5982\u679c\u6ca1\u6709\u663e\u793a\u7248\u672c\u4fe1\u606f\uff0c\u53ef\u80fd\u9700\u8981\u68c0\u67e5\u5b89\u88c5\u8def\u5f84\u6216\u73af\u5883\u53d8\u91cf\u8bbe\u7f6e\u3002<\/p>\n<p><strong>Python 3.8\u7684\u57fa\u672c\u547d\u4ee4\u884c\u64cd\u4f5c\u6709\u54ea\u4e9b\uff1f<\/strong><br \/>\u5728\u547d\u4ee4\u884c\u4e2d\uff0c\u4f60\u53ef\u4ee5\u8f93\u5165<code>python<\/code>\u6216<code>python3<\/code>\u8fdb\u5165Python\u4ea4\u4e92\u5f0f\u73af\u5883\u3002\u5728\u8fd9\u4e2a\u73af\u5883\u4e2d\uff0c\u53ef\u4ee5\u76f4\u63a5\u8f93\u5165Python\u4ee3\u7801\u8fdb\u884c\u6d4b\u8bd5\u548c\u5b9e\u9a8c\u3002\u6b64\u5916\uff0c\u4f7f\u7528<code>python script.py<\/code>\u547d\u4ee4\u53ef\u4ee5\u8fd0\u884c\u4fdd\u5b58\u4e3a<code>.py<\/code>\u6587\u4ef6\u7684Python\u811a\u672c\u3002<\/p>\n<p><strong>\u6211\u5e94\u8be5\u4f7f\u7528\u54ea\u4e2aIDE\u6216\u6587\u672c\u7f16\u8f91\u5668\u6765\u7f16\u5199Python 3.8\u4ee3\u7801\uff1f<\/strong><br \/>\u6709\u591a\u79cdIDE\u548c\u6587\u672c\u7f16\u8f91\u5668\u53ef\u4f9b\u9009\u62e9\uff0c\u5982PyCharm\u3001Visual Studio Code\u3001Sublime Text\u548cJupyter Notebook\u7b49\u3002PyCharm\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u529f\u80fd\uff0c\u9002\u5408\u5927\u578b\u9879\u76ee\uff0c\u800cVisual Studio Code\u5219\u8f7b\u91cf\u4e14\u6613\u4e8e\u6269\u5c55\uff0c\u9002\u5408\u5feb\u901f\u5f00\u53d1\u548c\u7b80\u5355\u9879\u76ee\u3002\u9009\u62e9\u6700\u9002\u5408\u81ea\u5df1\u9700\u6c42\u7684\u5de5\u5177\u53ef\u4ee5\u63d0\u9ad8\u7f16\u7a0b\u6548\u7387\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u521a\u5b89\u88c5\u7684Python3.8\u5982\u4f55\u4f7f\u7528 \u521a\u5b89\u88c5\u7684Python3.8\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u4f7f\u7528\uff1a\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3001\u4f7f\u7528Pyth [&hellip;]","protected":false},"author":3,"featured_media":1071293,"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\/1071283"}],"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=1071283"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1071283\/revisions"}],"predecessor-version":[{"id":1071299,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1071283\/revisions\/1071299"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1071293"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1071283"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1071283"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1071283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}