{"id":1046098,"date":"2024-12-31T13:30:07","date_gmt":"2024-12-31T05:30:07","guid":{"rendered":""},"modified":"2024-12-31T13:30:10","modified_gmt":"2024-12-31T05:30:10","slug":"%e5%a6%82%e4%bd%95%e6%9b%b4%e6%96%b0python%e6%9c%80%e6%96%b0%e7%89%88%e6%9c%ac","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1046098.html","title":{"rendered":"\u5982\u4f55\u66f4\u65b0python\u6700\u65b0\u7248\u672c"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2024\/12\/1743cd0f-2515-427f-b135-0f4eaf9aa028.webp?x-oss-process=image\/auto-orient,1\/format,webp\" alt=\"\u5982\u4f55\u66f4\u65b0python\u6700\u65b0\u7248\u672c\" \/><\/p>\n<p><p> <strong>\u8981\u66f4\u65b0 Python \u5230\u6700\u65b0\u7248\u672c\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u51e0\u79cd\u65b9\u6cd5\uff1a\u4f7f\u7528 Python \u5b98\u65b9\u5b89\u88c5\u5305\u3001\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\uff08\u5982 Homebrew \u6216 Chocolatey\uff09\u3001\u4f7f\u7528 Anaconda\u3002<\/strong><br \/>\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e9b\u65b9\u6cd5\u4e2d\u7684\u4e00\u79cd\uff1a\u4f7f\u7528 Python \u5b98\u65b9\u5b89\u88c5\u5305\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528 Python \u5b98\u65b9\u5b89\u88c5\u5305<\/h3>\n<\/p>\n<p><h4>1. \u4e0b\u8f7d\u6700\u65b0\u7248\u672c<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u8bbf\u95ee Python \u7684\u5b98\u65b9\u7f51\u7ad9 <a href=\"https:\/\/www.python.org\/%EF%BC%8C%E5%9C%A8%E2%80%9CDownloads%E2%80%9D%E9%A1%B5%E9%9D%A2%E4%B8%AD%EF%BC%8C%E9%80%89%E6%8B%A9%E9%80%82%E5%90%88%E4%BD%A0%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E7%9A%84%E6%9C%80%E6%96%B0%E7%89%88%E6%9C%AC%E8%BF%9B%E8%A1%8C%E4%B8%8B%E8%BD%BD%E3%80%82Python\">https:\/\/www.python.org\/\uff0c\u5728\u201cDownloads\u201d\u9875\u9762\u4e2d\uff0c\u9009\u62e9\u9002\u5408\u4f60\u64cd\u4f5c\u7cfb\u7edf\u7684\u6700\u65b0\u7248\u672c\u8fdb\u884c\u4e0b\u8f7d\u3002Python<\/a> \u5b98\u65b9\u7f51\u7ad9\u4f1a\u81ea\u52a8\u68c0\u6d4b\u4f60\u6b63\u5728\u4f7f\u7528\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5e76\u63a8\u8350\u76f8\u5e94\u7684\u4e0b\u8f7d\u94fe\u63a5\u3002<\/p>\n<\/p>\n<p><h4>2. \u5b89\u88c5 Python<\/h4>\n<\/p>\n<p><p>\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u8fd0\u884c\u5b89\u88c5\u5305\u3002\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u6709\u51e0\u4e2a\u9009\u9879\u9700\u8981\u6ce8\u610f\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>Add Python to PATH<\/strong>\uff1a\u786e\u4fdd\u8fd9\u4e2a\u9009\u9879\u88ab\u52fe\u9009\uff0c\u8fd9\u6837\u53ef\u4ee5\u5c06 Python \u6dfb\u52a0\u5230\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\u4e2d\uff0c\u65b9\u4fbf\u5728\u547d\u4ee4\u884c\u4e2d\u76f4\u63a5\u4f7f\u7528 Python\u3002<\/li>\n<li><strong>Customize installation<\/strong>\uff1a\u9009\u62e9\u81ea\u5b9a\u4e49\u5b89\u88c5\uff0c\u53ef\u4ee5\u9009\u62e9\u6240\u9700\u7684\u7ec4\u4ef6\u548c\u5b89\u88c5\u8def\u5f84\u3002<\/li>\n<\/ul>\n<p><h4>3. \u9a8c\u8bc1\u5b89\u88c5<\/h4>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6253\u5f00\u547d\u4ee4\u884c\uff08Windows \u7528\u6237\u6253\u5f00 Command Prompt\uff0cmacOS \u548c Linux \u7528\u6237\u6253\u5f00\u7ec8\u7aef\uff09\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u6765\u9a8c\u8bc1\u5b89\u88c5\u662f\u5426\u6210\u529f\uff1a<\/p>\n<\/p>\n<p><pre><code>python --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5982\u679c\u663e\u793a\u7684\u662f\u4f60\u5b89\u88c5\u7684\u6700\u65b0\u7248\u672c\u7684 Python\uff0c\u5219\u8bf4\u660e\u5b89\u88c5\u6210\u529f\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177<\/h3>\n<\/p>\n<p><h4>1. \u4f7f\u7528 Homebrew\uff08macOS\uff09<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u662f macOS \u7528\u6237\uff0c\u53ef\u4ee5\u4f7f\u7528 Homebrew \u8fd9\u4e2a\u5f3a\u5927\u7684\u5305\u7ba1\u7406\u5de5\u5177\u6765\u5b89\u88c5\u548c\u66f4\u65b0 Python\u3002\u9996\u5148\uff0c\u786e\u4fdd\u4f60\u5df2\u7ecf\u5b89\u88c5\u4e86 Homebrew\u3002\u5982\u679c\u6ca1\u6709\u5b89\u88c5\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code>\/bin\/bash -c &quot;$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/HEAD\/install.sh)&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\uff0c\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u66f4\u65b0 Homebrew \u5e76\u5b89\u88c5\u6700\u65b0\u7248\u672c\u7684 Python\uff1a<\/p>\n<\/p>\n<p><pre><code>brew update<\/p>\n<p>brew install python<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528 <code>python3 --version<\/code> \u547d\u4ee4\u6765\u9a8c\u8bc1\u5b89\u88c5\u7ed3\u679c\u3002<\/p>\n<\/p>\n<p><h4>2. \u4f7f\u7528 Chocolatey\uff08Windows\uff09<\/h4>\n<\/p>\n<p><p>\u5bf9\u4e8e Windows \u7528\u6237\uff0c\u53ef\u4ee5\u4f7f\u7528 Chocolatey \u8fd9\u4e2a\u5305\u7ba1\u7406\u5de5\u5177\u6765\u66f4\u65b0 Python\u3002\u9996\u5148\uff0c\u786e\u4fdd\u4f60\u5df2\u7ecf\u5b89\u88c5\u4e86 Chocolatey\u3002\u5982\u679c\u6ca1\u6709\u5b89\u88c5\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff08\u9700\u8981\u7ba1\u7406\u5458\u6743\u9650\u8fd0\u884c Command Prompt\uff09\uff1a<\/p>\n<\/p>\n<p><pre><code>Set-ExecutionPolicy AllSigned<\/p>\n<p>Set-ExecutionPolicy Bypass -Scope Process<\/p>\n<p>[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072<\/p>\n<p>iex ((New-Object System.Net.WebClient).DownloadString(&#39;https:\/\/chocolatey.org\/install.ps1&#39;))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\uff0c\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u5b89\u88c5\u6700\u65b0\u7248\u672c\u7684 Python\uff1a<\/p>\n<\/p>\n<p><pre><code>choco install python --pre<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528 <code>python --version<\/code> \u547d\u4ee4\u6765\u9a8c\u8bc1\u5b89\u88c5\u7ed3\u679c\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528 Anaconda<\/h3>\n<\/p>\n<p><h4>1. \u4e0b\u8f7d Anaconda<\/h4>\n<\/p>\n<p><p>Anaconda \u662f\u4e00\u4e2a\u6d41\u884c\u7684\u6570\u636e\u79d1\u5b66\u5e73\u53f0\uff0c\u5305\u542b\u4e86 Python \u548c\u8bb8\u591a\u5e38\u7528\u7684\u6570\u636e\u79d1\u5b66\u5e93\u3002\u4f60\u53ef\u4ee5\u4ece Anaconda \u7684\u5b98\u65b9\u7f51\u7ad9 <a href=\"https:\/\/www.anaconda.com\/\">https:\/\/www.anaconda.com\/<\/a> \u4e0b\u8f7d\u9002\u5408\u4f60\u64cd\u4f5c\u7cfb\u7edf\u7684\u5b89\u88c5\u5305\u3002<\/p>\n<\/p>\n<p><h4>2. \u5b89\u88c5 Anaconda<\/h4>\n<\/p>\n<p><p>\u8fd0\u884c\u4e0b\u8f7d\u7684\u5b89\u88c5\u5305\uff0c\u6309\u7167\u5b89\u88c5\u5411\u5bfc\u8fdb\u884c\u5b89\u88c5\u3002\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u6709\u4e00\u4e2a\u9009\u9879\u662f\u5c06 Anaconda \u6dfb\u52a0\u5230\u7cfb\u7edf PATH \u4e2d\uff0c\u5efa\u8bae\u52fe\u9009\u8fd9\u4e2a\u9009\u9879\u3002<\/p>\n<\/p>\n<p><h4>3. \u9a8c\u8bc1\u5b89\u88c5<\/h4>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6253\u5f00\u547d\u4ee4\u884c\uff08Windows \u7528\u6237\u6253\u5f00 Command Prompt\uff0cmacOS \u548c Linux \u7528\u6237\u6253\u5f00\u7ec8\u7aef\uff09\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u6765\u9a8c\u8bc1\u5b89\u88c5\u662f\u5426\u6210\u529f\uff1a<\/p>\n<\/p>\n<p><pre><code>conda --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5982\u679c\u663e\u793a\u7684\u662f Conda \u7684\u7248\u672c\u4fe1\u606f\uff0c\u5219\u8bf4\u660e Anaconda \u5b89\u88c5\u6210\u529f\u3002\u63a5\u4e0b\u6765\uff0c\u4f60\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u65b0\u7684 Conda \u73af\u5883\u5e76\u5b89\u88c5\u6700\u65b0\u7248\u672c\u7684 Python\uff1a<\/p>\n<\/p>\n<p><pre><code>conda create --name myenv python=latest<\/p>\n<p>conda activate myenv<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u5e38\u89c1\u95ee\u9898\u53ca\u89e3\u51b3\u65b9\u6cd5<\/h3>\n<\/p>\n<p><h4>1. PATH \u95ee\u9898<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u5728\u5b89\u88c5 Python \u540e\uff0c\u547d\u4ee4\u884c\u4e2d\u65e0\u6cd5\u8bc6\u522b <code>python<\/code> \u547d\u4ee4\uff0c\u53ef\u80fd\u662f\u56e0\u4e3a Python \u672a\u88ab\u6dfb\u52a0\u5230\u7cfb\u7edf PATH \u4e2d\u3002\u4f60\u53ef\u4ee5\u624b\u52a8\u5c06 Python \u7684\u5b89\u88c5\u8def\u5f84\u6dfb\u52a0\u5230\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\u4e2d\u3002<\/p>\n<\/p>\n<p><h4>2. \u7248\u672c\u51b2\u7a81<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u5728\u7cfb\u7edf\u4e2d\u540c\u65f6\u5b89\u88c5\u4e86\u591a\u4e2a\u7248\u672c\u7684 Python\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u7248\u672c\u51b2\u7a81\u3002\u5efa\u8bae\u4f7f\u7528\u865a\u62df\u73af\u5883\u5de5\u5177\uff08\u5982 <code>venv<\/code> \u6216 <code>virtualenv<\/code>\uff09\u6765\u7ba1\u7406\u4e0d\u540c\u9879\u76ee\u7684\u4f9d\u8d56\u5173\u7cfb\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u865a\u62df\u73af\u5883\uff1a<\/p>\n<\/p>\n<p><pre><code>python -m venv myenv<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\u6fc0\u6d3b\u865a\u62df\u73af\u5883\uff08Windows \u7528\u6237\u4f7f\u7528 <code>myenv\\Scripts\\activate<\/code>\uff0cmacOS \u548c Linux \u7528\u6237\u4f7f\u7528 <code>source myenv\/bin\/activate<\/code>\uff09\u3002<\/p>\n<\/p>\n<p><h4>3. \u5305\u7ba1\u7406\u5de5\u5177\u95ee\u9898<\/h4>\n<\/p>\n<p><p>\u5728\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\uff08\u5982 pip\uff09\u5b89\u88c5 Python \u5305\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u95ee\u9898\uff0c\u4f8b\u5982\u7248\u672c\u517c\u5bb9\u6027\u95ee\u9898\u3002\u5efa\u8bae\u5728\u5b89\u88c5\u5305\u4e4b\u524d\uff0c\u5148\u67e5\u770b\u5305\u7684\u5b98\u65b9\u6587\u6863\uff0c\u786e\u4fdd\u5176\u4e0e\u5f53\u524d Python \u7248\u672c\u517c\u5bb9\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u66f4\u65b0 Python \u5230\u6700\u65b0\u7248\u672c\u6709\u591a\u79cd\u65b9\u6cd5\uff0c\u5305\u62ec\u4f7f\u7528 Python \u5b98\u65b9\u5b89\u88c5\u5305\u3001\u5305\u7ba1\u7406\u5de5\u5177\uff08\u5982 Homebrew \u6216 Chocolatey\uff09\u4ee5\u53ca Anaconda\u3002\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u4f18\u7f3a\u70b9\uff0c\u7528\u6237\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u3002\u5728\u66f4\u65b0\u8fc7\u7a0b\u4e2d\uff0c\u5efa\u8bae\u6ce8\u610f\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>\u786e\u4fdd\u5907\u4efd\u73b0\u6709\u7684 Python \u9879\u76ee<\/strong>\uff0c\u4ee5\u9632\u66f4\u65b0\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u610f\u5916\u95ee\u9898\u3002<\/li>\n<li><strong>\u68c0\u67e5\u7cfb\u7edf\u7684\u517c\u5bb9\u6027<\/strong>\uff0c\u786e\u4fdd\u65b0\u7248\u672c\u7684 Python \u80fd\u591f\u5728\u4f60\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u6b63\u5e38\u8fd0\u884c\u3002<\/li>\n<li><strong>\u4f7f\u7528\u865a\u62df\u73af\u5883<\/strong>\uff0c\u7ba1\u7406\u4e0d\u540c\u9879\u76ee\u7684\u4f9d\u8d56\u5173\u7cfb\uff0c\u907f\u514d\u7248\u672c\u51b2\u7a81\u3002<\/li>\n<\/ul>\n<p><p>\u901a\u8fc7\u672c\u6587\u7684\u4ecb\u7ecd\uff0c\u5e0c\u671b\u4f60\u80fd\u591f\u987a\u5229\u5730\u66f4\u65b0 Python \u5230\u6700\u65b0\u7248\u672c\uff0c\u5e76\u5728\u4f7f\u7528\u8fc7\u7a0b\u4e2d\u4eab\u53d7\u5176\u5e26\u6765\u7684\u65b0\u529f\u80fd\u548c\u6027\u80fd\u63d0\u5347\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u68c0\u67e5\u6211\u5f53\u524d\u5b89\u88c5\u7684Python\u7248\u672c\uff1f<\/strong><br \/>\u8981\u67e5\u770b\u5f53\u524d\u5b89\u88c5\u7684Python\u7248\u672c\uff0c\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u6216\u7ec8\u7aef\u4e2d\u8f93\u5165<code>python --version<\/code>\u6216<code>python3 --version<\/code>\u3002\u8fd9\u4f1a\u663e\u793a\u5f53\u524d\u4f7f\u7528\u7684Python\u7248\u672c\u53f7\u3002\u786e\u4fdd\u5728\u66f4\u65b0\u4e4b\u524d\u4e86\u89e3\u60a8\u5f53\u524d\u7684\u7248\u672c\uff0c\u4fbf\u4e8e\u540e\u7eed\u64cd\u4f5c\u3002<\/p>\n<p><strong>\u66f4\u65b0Python\u4f1a\u5f71\u54cd\u6211\u5df2\u6709\u7684\u9879\u76ee\u5417\uff1f<\/strong><br \/>\u66f4\u65b0Python\u7248\u672c\u53ef\u80fd\u4f1a\u5bf9\u73b0\u6709\u9879\u76ee\u4ea7\u751f\u5f71\u54cd\uff0c\u7279\u522b\u662f\u5982\u679c\u9879\u76ee\u4f9d\u8d56\u4e8e\u7279\u5b9a\u7248\u672c\u7684\u5e93\u6216Python\u529f\u80fd\u3002\u5728\u66f4\u65b0\u4e4b\u524d\uff0c\u5efa\u8bae\u5907\u4efd\u91cd\u8981\u9879\u76ee\uff0c\u5e76\u68c0\u67e5\u9879\u76ee\u7684\u4f9d\u8d56\u6587\u4ef6\uff08\u5982<code>requirements.txt<\/code>\u6216<code>Pipfile<\/code>\uff09\uff0c\u4ee5\u786e\u4fdd\u65b0\u7248\u672c\u7684\u517c\u5bb9\u6027\u3002<\/p>\n<p><strong>\u5728Windows\u548cmacOS\u4e0a\u66f4\u65b0Python\u7684\u6b65\u9aa4\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\u5728Windows\u4e0a\uff0c\u53ef\u4ee5\u8bbf\u95eePython\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u6700\u65b0\u7684\u5b89\u88c5\u7a0b\u5e8f\uff0c\u8fd0\u884c\u540e\u4f1a\u63d0\u793a\u60a8\u662f\u5426\u8981\u66ff\u6362\u73b0\u6709\u7248\u672c\u3002\u5728macOS\u4e0a\uff0c\u53ef\u4ee5\u4f7f\u7528Homebrew\u547d\u4ee4<code>brew update<\/code>\u548c<code>brew upgrade python<\/code>\u6765\u66f4\u65b0Python\u3002\u786e\u4fdd\u5728\u66f4\u65b0\u540e\u9a8c\u8bc1\u5b89\u88c5\u662f\u5426\u6210\u529f\uff0c\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u518d\u6b21\u68c0\u67e5\u7248\u672c\u53f7\u3002<\/p>\n<p><strong>Python\u66f4\u65b0\u540e\u5982\u4f55\u7ba1\u7406\u65e7\u7248\u672c\uff1f<\/strong><br \/>\u66f4\u65b0Python\u540e\uff0c\u60a8\u53ef\u4ee5\u9009\u62e9\u4fdd\u7559\u65e7\u7248\u672c\uff0c\u4ee5\u4fbf\u5728\u4e0d\u540c\u9879\u76ee\u4e2d\u4f7f\u7528\u7279\u5b9a\u7684Python\u7248\u672c\u3002\u4f7f\u7528\u865a\u62df\u73af\u5883\uff08\u5982<code>venv<\/code>\u6216<code>virtualenv<\/code>\uff09\u53ef\u4ee5\u5e2e\u52a9\u60a8\u4e3a\u6bcf\u4e2a\u9879\u76ee\u521b\u5efa\u72ec\u7acb\u7684\u73af\u5883\uff0c\u786e\u4fdd\u4e0d\u4f1a\u56e0\u7248\u672c\u51b2\u7a81\u800c\u5bfc\u81f4\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u66f4\u65b0 Python \u5230\u6700\u65b0\u7248\u672c\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u51e0\u79cd\u65b9\u6cd5\uff1a\u4f7f\u7528 Python \u5b98\u65b9\u5b89\u88c5\u5305\u3001\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\uff08\u5982 H [&hellip;]","protected":false},"author":3,"featured_media":1046105,"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\/1046098"}],"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=1046098"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1046098\/revisions"}],"predecessor-version":[{"id":1046107,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1046098\/revisions\/1046107"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1046105"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1046098"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1046098"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1046098"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}