{"id":964492,"date":"2024-12-27T04:28:48","date_gmt":"2024-12-26T20:28:48","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/964492.html"},"modified":"2024-12-27T04:28:50","modified_gmt":"2024-12-26T20:28:50","slug":"%e5%a6%82%e4%bd%95%e6%9f%a5python%e5%ae%89%e8%a3%85%e8%b7%af%e5%be%84","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/964492.html","title":{"rendered":"\u5982\u4f55\u67e5python\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\/24181244\/c32c95e1-de7c-47c0-be7e-000542803463.webp\" alt=\"\u5982\u4f55\u67e5python\u5b89\u88c5\u8def\u5f84\" \/><\/p>\n<p><h3>\u5f00\u5934\u6bb5\u843d<\/h3>\n<\/p>\n<p><p><strong>\u67e5\u627ePython\u5b89\u88c5\u8def\u5f84\u7684\u65b9\u5f0f\u6709\u591a\u79cd\uff1a\u4f7f\u7528\u547d\u4ee4\u884c\u5de5\u5177\u3001\u901a\u8fc7Python\u811a\u672c\u67e5\u8be2\u3001\u5728\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\u4e2d\u67e5\u627e\u3001\u5229\u7528Python IDE\u6216\u8005\u7f16\u8f91\u5668\u67e5\u770b<\/strong>\u3002\u5176\u4e2d\uff0c\u4f7f\u7528\u547d\u4ee4\u884c\u5de5\u5177\u662f\u4e00\u79cd\u5feb\u6377\u4e14\u6709\u6548\u7684\u65b9\u6cd5\uff0c\u53ea\u9700\u8f93\u5165\u7b80\u5355\u7684\u547d\u4ee4\u5373\u53ef\u83b7\u53d6Python\u7684\u5b89\u88c5\u8def\u5f84\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u547d\u4ee4\u884c\u5de5\u5177\u67e5\u627ePython\u5b89\u88c5\u8def\u5f84\u3002\u9996\u5148\uff0c\u6253\u5f00\u547d\u4ee4\u884c\u7ec8\u7aef\uff0c\u8f93\u5165\u547d\u4ee4<code>python -c &quot;import sys; print(sys.executable)&quot;<\/code>\uff0c\u8fd9\u5c06\u8f93\u51faPython\u7684\u53ef\u6267\u884c\u6587\u4ef6\u8def\u5f84\uff0c\u5373\u5b89\u88c5\u8def\u5f84\u3002\u8fd9\u79cd\u65b9\u6cd5\u5feb\u901f\u4e14\u9002\u7528\u4e8e\u5927\u591a\u6570\u64cd\u4f5c\u7cfb\u7edf\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528\u547d\u4ee4\u884c\u5de5\u5177<\/h3>\n<\/p>\n<p><p>\u5728\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u5229\u7528\u547d\u4ee4\u884c\u5de5\u5177\u67e5\u627ePython\u7684\u5b89\u88c5\u8def\u5f84\u3002\u8fd9\u662f\u4e00\u79cd\u76f4\u63a5\u4e14\u9ad8\u6548\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h4>1. Windows\u7cfb\u7edf<\/h4>\n<\/p>\n<p><p>\u5728Windows\u7cfb\u7edf\u4e2d\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u63d0\u793a\u7b26\uff08CMD\uff09\u6216PowerShell\u6765\u67e5\u627ePython\u5b89\u88c5\u8def\u5f84\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u4f7f\u7528\u547d\u4ee4\u63d0\u793a\u7b26\uff08CMD\uff09<\/strong>\uff1a<\/p>\n<p>\u6253\u5f00CMD\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-shell\">python -c &quot;import sys; print(sys.executable)&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u8fd4\u56dePython\u7684\u53ef\u6267\u884c\u6587\u4ef6\u8def\u5f84\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528PowerShell<\/strong>\uff1a<\/p>\n<p>\u6253\u5f00PowerShell\uff0c\u8f93\u5165\u540c\u6837\u7684\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-shell\">python -c &quot;import sys; print(sys.executable)&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u540c\u6837\u53ef\u4ee5\u83b7\u53d6Python\u5b89\u88c5\u8def\u5f84\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><h4>2. macOS\u548cLinux\u7cfb\u7edf<\/h4>\n<\/p>\n<p><p>\u5728macOS\u548cLinux\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u7ec8\u7aef\u6765\u67e5\u627ePython\u5b89\u88c5\u8def\u5f84\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u4f7f\u7528\u7ec8\u7aef<\/strong>\uff1a<\/p>\n<p>\u6253\u5f00\u7ec8\u7aef\uff0c\u8f93\u5165\u547d\u4ee4\uff1a<\/p>\n<pre><code class=\"language-shell\">which python<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u6216\u8005<\/p>\n<pre><code class=\"language-shell\">which python3<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u8fd9\u5c06\u8fd4\u56dePython\u6216Python3\u7684\u5b89\u88c5\u8def\u5f84\u3002<\/li>\n<\/p>\n<\/ul>\n<p><h3>\u4e8c\u3001\u901a\u8fc7Python\u811a\u672c\u67e5\u8be2<\/h3>\n<\/p>\n<p><p>\u7f16\u5199\u4e00\u4e2a\u7b80\u5355\u7684Python\u811a\u672c\u4e5f\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u67e5\u627ePython\u7684\u5b89\u88c5\u8def\u5f84\u3002\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u5df2\u7ecf\u53ef\u4ee5\u8fd0\u884cPython\u811a\u672c\u7684\u73af\u5883\u3002<\/p>\n<\/p>\n<p><h4>1. \u7f16\u5199\u811a\u672c<\/h4>\n<\/p>\n<p><p>\u4f60\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2aPython\u811a\u672c\u6587\u4ef6\uff0c\u4f8b\u5982<code>find_python_path.py<\/code>\uff0c\u5185\u5bb9\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import sys<\/p>\n<p>print(&quot;Python executable path:&quot;, sys.executable)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u6267\u884c\u811a\u672c<\/h4>\n<\/p>\n<p><p>\u5728\u547d\u4ee4\u884c\u4e2d\uff0c\u5bfc\u822a\u5230\u811a\u672c\u6240\u5728\u76ee\u5f55\uff0c\u5e76\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-shell\">python find_python_path.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u8f93\u51faPython\u7684\u53ef\u6267\u884c\u6587\u4ef6\u8def\u5f84\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u5728\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\u4e2d\u67e5\u627e<\/h3>\n<\/p>\n<p><p>\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\u4e2d\u901a\u5e38\u4f1a\u5305\u542bPython\u7684\u76f8\u5173\u8def\u5f84\u4fe1\u606f\uff0c\u5c24\u5176\u662f\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u8bbe\u7f6e\u4e86\u73af\u5883\u53d8\u91cf\u7684\u60c5\u51b5\u4e0b\u3002<\/p>\n<\/p>\n<p><h4>1. Windows\u7cfb\u7edf<\/h4>\n<\/p>\n<p><p>\u5728Windows\u7cfb\u7edf\u4e2d\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u67e5\u627e\u73af\u5883\u53d8\u91cf\u4e2d\u8bbe\u7f6e\u7684Python\u8def\u5f84\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u6253\u5f00\u201c\u7cfb\u7edf\u5c5e\u6027\u201d\u7a97\u53e3\uff08\u53f3\u952e\u70b9\u51fb\u201c\u6b64\u7535\u8111\u201d -&gt; \u201c\u5c5e\u6027\u201d -&gt; \u201c\u9ad8\u7ea7\u7cfb\u7edf\u8bbe\u7f6e\u201d\uff09\u3002<\/li>\n<li>\u70b9\u51fb\u201c\u73af\u5883\u53d8\u91cf\u201d\u6309\u94ae\u3002<\/li>\n<li>\u5728\u201c\u7cfb\u7edf\u53d8\u91cf\u201d\u6216\u201c\u7528\u6237\u53d8\u91cf\u201d\u4e2d\u67e5\u627e\u540d\u4e3a<code>Path<\/code>\u7684\u53d8\u91cf\uff0c\u53cc\u51fb\u67e5\u770b\u5176\u4e2d\u662f\u5426\u5305\u542bPython\u8def\u5f84\u3002<\/li>\n<\/ul>\n<p><h4>2. macOS\u548cLinux\u7cfb\u7edf<\/h4>\n<\/p>\n<p><p>\u5728macOS\u548cLinux\u4e2d\uff0c\u53ef\u4ee5\u67e5\u770b\u7cfb\u7edf\u7684\u73af\u5883\u53d8\u91cf\u6765\u67e5\u627ePython\u8def\u5f84\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u6253\u5f00\u7ec8\u7aef\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u67e5\u770b\u73af\u5883\u53d8\u91cf\uff1a\n<pre><code class=\"language-shell\">echo $PATH<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\u67e5\u770b\u8f93\u51fa\u4e2d\u662f\u5426\u5305\u542bPython\u7684\u8def\u5f84\u3002<\/li>\n<\/ul>\n<p><h3>\u56db\u3001\u5229\u7528Python IDE\u6216\u8005\u7f16\u8f91\u5668\u67e5\u770b<\/h3>\n<\/p>\n<p><p>\u5f88\u591aPython IDE\u6216\u8005\u7f16\u8f91\u5668\u90fd\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u67e5\u770bPython\u7684\u5b89\u88c5\u8def\u5f84\u3002\u8fd9\u79cd\u65b9\u6cd5\u7279\u522b\u9002\u5408\u4e8e\u4f7f\u7528\u96c6\u6210\u5f00\u53d1\u73af\u5883\u7684\u7528\u6237\u3002<\/p>\n<\/p>\n<p><h4>1. \u4f7f\u7528PyCharm<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u4f7f\u7528\u7684\u662fPyCharm\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u627e\u5230Python\u7684\u5b89\u88c5\u8def\u5f84\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u6253\u5f00PyCharm\uff0c\u8fdb\u5165\u201cFile\u201d -&gt; \u201cSettings\u201d\u3002<\/li>\n<li>\u5728\u5de6\u4fa7\u83dc\u5355\u4e2d\u9009\u62e9\u201cProject: [your_project_name]\u201d -&gt; \u201cPython Interpreter\u201d\u3002<\/li>\n<li>\u5728\u53f3\u4fa7\u53ef\u4ee5\u770b\u5230\u5f53\u524d\u9009\u62e9\u7684Python\u89e3\u91ca\u5668\u8def\u5f84\u3002<\/li>\n<\/ul>\n<p><h4>2. \u4f7f\u7528VS Code<\/h4>\n<\/p>\n<p><p>\u5bf9\u4e8e\u4f7f\u7528VS Code\u7684\u7528\u6237\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u67e5\u770bPython\u8def\u5f84\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u6253\u5f00VS Code\uff0c\u6309\u4e0b<code>Ctrl + Shift + P<\/code>\u6253\u5f00\u547d\u4ee4\u9762\u677f\u3002<\/li>\n<li>\u8f93\u5165\u201cPython: Select Interpreter\u201d\uff0c\u7136\u540e\u9009\u62e9Python\u89e3\u91ca\u5668\u3002<\/li>\n<li>\u5728\u5e95\u90e8\u72b6\u6001\u680f\u4e2d\u53ef\u4ee5\u770b\u5230\u5f53\u524d\u9009\u62e9\u7684Python\u8def\u5f84\u3002<\/li>\n<\/ul>\n<p><h3>\u4e94\u3001\u5176\u4ed6\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>\u9664\u4e86\u4e0a\u8ff0\u65b9\u6cd5\uff0c\u8fd8\u6709\u5176\u4ed6\u4e00\u4e9b\u6280\u5de7\u53ef\u4ee5\u5e2e\u52a9\u67e5\u627ePython\u7684\u5b89\u88c5\u8def\u5f84\u3002<\/p>\n<\/p>\n<p><h4>1. \u68c0\u67e5\u5b89\u88c5\u76ee\u5f55<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u8bb0\u5f97\u5b89\u88c5Python\u65f6\u9009\u62e9\u7684\u76ee\u5f55\uff0c\u53ef\u4ee5\u76f4\u63a5\u67e5\u770b\u8be5\u76ee\u5f55\u3002\u4f8b\u5982\uff0cWindows\u7528\u6237\u901a\u5e38\u4f1a\u5728\u201cC:\\PythonXX\u201d\u6216\u201cC:\\Program Files\\PythonXX\u201d\u4e0b\u627e\u5230\u5b89\u88c5\u76ee\u5f55\u3002<\/p>\n<\/p>\n<p><h4>2. \u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177<\/h4>\n<\/p>\n<p><p>\u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u5982\u679c\u662f\u901a\u8fc7\u5305\u7ba1\u7406\u5de5\u5177\u5b89\u88c5\u7684Python\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u67e5\u770b\u5b89\u88c5\u8def\u5f84\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u4f7f\u7528<code>dpkg<\/code>\uff08\u9002\u7528\u4e8eDebian\/Ubuntu\uff09\uff1a\n<pre><code class=\"language-shell\">dpkg -L python3<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\u4f7f\u7528<code>rpm<\/code>\uff08\u9002\u7528\u4e8eRed Hat\/CentOS\uff09\uff1a\n<pre><code class=\"language-shell\">rpm -ql python3<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ul>\n<p><p>\u8fd9\u4e9b\u547d\u4ee4\u5c06\u5217\u51fa\u4e0ePython\u76f8\u5173\u7684\u6587\u4ef6\u548c\u8def\u5f84\u3002<\/p>\n<\/p>\n<p><h3>\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u67e5\u627ePython\u5b89\u88c5\u8def\u5f84\u7684\u65b9\u6cd5\u591a\u79cd\u591a\u6837\uff0c\u6839\u636e\u64cd\u4f5c\u7cfb\u7edf\u548c\u4e2a\u4eba\u504f\u597d\uff0c\u53ef\u4ee5\u9009\u62e9\u6700\u5408\u9002\u7684\u65b9\u6cd5\u3002<strong>\u4f7f\u7528\u547d\u4ee4\u884c\u5de5\u5177\u662f\u6700\u76f4\u63a5\u7684\u65b9\u6cd5\uff0c\u800c\u901a\u8fc7Python\u811a\u672c\u548cIDE\u67e5\u770b\u5219\u63d0\u4f9b\u4e86\u66f4\u591a\u7684\u7075\u6d3b\u6027<\/strong>\u3002\u5728\u4e0d\u540c\u7684\u5de5\u4f5c\u73af\u5883\u4e2d\uff0c\u8fd9\u4e9b\u6280\u5de7\u90fd\u80fd\u5e2e\u52a9\u4f60\u5feb\u901f\u627e\u5230Python\u7684\u5b89\u88c5\u8def\u5f84\u3002\u65e0\u8bba\u4f60\u662f\u5f00\u53d1\u8005\u8fd8\u662f\u7ba1\u7406\u5458\uff0c\u638c\u63e1\u8fd9\u4e9b\u65b9\u6cd5\u53ef\u4ee5\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u786e\u5b9a\u6211\u7535\u8111\u4e0a\u5b89\u88c5\u7684Python\u7248\u672c\u53ca\u5176\u8def\u5f84\uff1f<\/strong><br \/>\u8981\u67e5\u770b\u7535\u8111\u4e0a\u5b89\u88c5\u7684Python\u7248\u672c\u53ca\u5176\u8def\u5f84\uff0c\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u6216\u7ec8\u7aef\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a  <\/p>\n<ul>\n<li>\u5728Windows\u4e0a\uff0c\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff0c\u8f93\u5165 <code>where python<\/code>\uff0c\u8fd9\u4f1a\u663e\u793aPython\u7684\u5b89\u88c5\u8def\u5f84\u3002\u8f93\u5165 <code>python --version<\/code> \u53ef\u4ee5\u67e5\u770b\u7248\u672c\u4fe1\u606f\u3002  <\/li>\n<li>\u5728macOS\u6216Linux\u4e0a\uff0c\u6253\u5f00\u7ec8\u7aef\uff0c\u8f93\u5165 <code>which python<\/code> \u6216 <code>which python3<\/code>\uff0c\u540c\u6837\u53ef\u4ee5\u5f97\u5230\u5b89\u88c5\u8def\u5f84\u3002\u4f7f\u7528 <code>python --version<\/code> \u6216 <code>python3 --version<\/code> \u53ef\u4ee5\u67e5\u770b\u5177\u4f53\u7248\u672c\u3002<\/li>\n<\/ul>\n<p><strong>\u5982\u679c\u6211\u5728\u591a\u4e2a\u4f4d\u7f6e\u5b89\u88c5\u4e86Python\uff0c\u8be5\u5982\u4f55\u67e5\u627e\u7279\u5b9a\u7248\u672c\u7684\u8def\u5f84\uff1f<\/strong><br \/>\u5982\u679c\u5728\u7cfb\u7edf\u4e2d\u5b89\u88c5\u4e86\u591a\u4e2a\u7248\u672c\u7684Python\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u65b9\u6cd5\u6765\u67e5\u627e\u7279\u5b9a\u7248\u672c\u7684\u8def\u5f84\uff1a  <\/p>\n<ul>\n<li>\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165 <code>py -0<\/code>\uff08Windows\uff09\u53ef\u4ee5\u5217\u51fa\u6240\u6709\u5df2\u5b89\u88c5\u7684Python\u7248\u672c\u53ca\u5176\u8def\u5f84\u3002  <\/li>\n<li>\u901a\u8fc7 <code>python3.x<\/code> \u7684\u5f62\u5f0f\uff08\u4f8b\u5982 <code>python3.8<\/code>\uff09\u6765\u6307\u5b9a\u7248\u672c\uff0c\u8f93\u5165 <code>which python3.x<\/code> \u53ef\u4ee5\u627e\u5230\u7279\u5b9a\u7248\u672c\u7684\u8def\u5f84\u3002\u5728macOS\u6216Linux\u4e0a\uff0c\u4f7f\u7528 <code>ls \/usr\/local\/bin\/<\/code> \u6216 <code>ls \/usr\/bin\/<\/code> \u67e5\u770b\u6240\u6709Python\u7248\u672c\u7684\u7b26\u53f7\u94fe\u63a5\u3002<\/li>\n<\/ul>\n<p><strong>\u5982\u4f55\u5728Python\u811a\u672c\u4e2d\u83b7\u53d6\u5f53\u524d\u7684Python\u5b89\u88c5\u8def\u5f84\uff1f<\/strong><br \/>\u5728Python\u811a\u672c\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5185\u7f6e\u7684 <code>sys<\/code> \u6a21\u5757\u6765\u83b7\u53d6\u5f53\u524dPython\u7684\u5b89\u88c5\u8def\u5f84\u3002\u4ee3\u7801\u793a\u4f8b\u5982\u4e0b\uff1a  <\/p>\n<pre><code class=\"language-python\">import sys\nprint(sys.executable)\n<\/code><\/pre>\n<p>\u8fd0\u884c\u8be5\u4ee3\u7801\u540e\uff0c\u5c06\u8f93\u51fa\u5f53\u524dPython\u89e3\u91ca\u5668\u7684\u5b8c\u6574\u8def\u5f84\u3002\u8fd9\u5bf9\u4e8e\u8c03\u8bd5\u6216\u5728\u4e0d\u540c\u73af\u5883\u4e2d\u8fd0\u884c\u4ee3\u7801\u65f6\u975e\u5e38\u6709\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5f00\u5934\u6bb5\u843d \u67e5\u627ePython\u5b89\u88c5\u8def\u5f84\u7684\u65b9\u5f0f\u6709\u591a\u79cd\uff1a\u4f7f\u7528\u547d\u4ee4\u884c\u5de5\u5177\u3001\u901a\u8fc7Python\u811a\u672c\u67e5\u8be2\u3001\u5728\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\u4e2d\u67e5\u627e [&hellip;]","protected":false},"author":3,"featured_media":964496,"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\/964492"}],"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=964492"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/964492\/revisions"}],"predecessor-version":[{"id":964499,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/964492\/revisions\/964499"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/964496"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=964492"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=964492"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=964492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}