{"id":953001,"date":"2024-12-27T01:38:35","date_gmt":"2024-12-26T17:38:35","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/953001.html"},"modified":"2024-12-27T01:38:36","modified_gmt":"2024-12-26T17:38:36","slug":"%e5%a6%82%e4%bd%95%e6%9f%a5%e6%89%bepython%e5%ae%89%e8%a3%85%e7%9b%ae%e5%bd%95","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/953001.html","title":{"rendered":"\u5982\u4f55\u67e5\u627epython\u5b89\u88c5\u76ee\u5f55"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25090637\/8a0f3eaf-2c4d-4929-8bd8-77b48d992b68.webp\" alt=\"\u5982\u4f55\u67e5\u627epython\u5b89\u88c5\u76ee\u5f55\" \/><\/p>\n<p><p> \u67e5\u627ePython\u5b89\u88c5\u76ee\u5f55\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u51e0\u79cd\u65b9\u6cd5\uff1a<strong>\u4f7f\u7528\u547d\u4ee4\u884c\u6307\u4ee4\u3001\u901a\u8fc7Python\u811a\u672c\u3001\u5728\u64cd\u4f5c\u7cfb\u7edf\u8bbe\u7f6e\u4e2d\u67e5\u627e\u3001\u4f7f\u7528\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u67e5\u770b<\/strong>\u3002\u5176\u4e2d\uff0c<strong>\u4f7f\u7528\u547d\u4ee4\u884c\u6307\u4ee4<\/strong>\u662f\u6700\u4e3a\u5e38\u7528\u548c\u76f4\u63a5\u7684\u65b9\u6cd5\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u901a\u8fc7\u547d\u4ee4\u884c\u6307\u4ee4\u627e\u5230Python\u7684\u5b89\u88c5\u76ee\u5f55\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u547d\u4ee4\u884c\u6307\u4ee4\u67e5\u627ePython\u5b89\u88c5\u76ee\u5f55\u7684\u65b9\u6cd5\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u6253\u5f00\u547d\u4ee4\u884c\u7ec8\u7aef\uff0c\u5e76\u8f93\u5165\u76f8\u5173\u7684Python\u547d\u4ee4\u5373\u53ef\u3002\u5177\u4f53\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u6253\u5f00\u547d\u4ee4\u884c\u7ec8\u7aef<\/strong><\/p>\n<p>\u5728Windows\u7cfb\u7edf\u4e2d\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u6309\u4e0b<code>Win + R<\/code>\u952e\u6253\u5f00\u201c\u8fd0\u884c\u201d\u5bf9\u8bdd\u6846\uff0c\u7136\u540e\u8f93\u5165<code>cmd<\/code>\u5e76\u6309\u4e0b\u56de\u8f66\u952e\u5373\u53ef\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u3002\u5728macOS\u6216Linux\u7cfb\u7edf\u4e2d\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u641c\u7d22\u201c\u7ec8\u7aef\u201d\u6216\u76f4\u63a5\u5728\u5e94\u7528\u7a0b\u5e8f\u4e2d\u627e\u5230\u201c\u7ec8\u7aef\u201d\u5e76\u6253\u5f00\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8f93\u5165Python\u547d\u4ee4<\/strong><\/p>\n<p>\u5728\u547d\u4ee4\u884c\u7a97\u53e3\u4e2d\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python -c &quot;import sys; print(sys.executable)&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6216\u8005\u5bf9\u4e8e\u67d0\u4e9b\u7cfb\u7edf\uff0c\u60a8\u53ef\u80fd\u9700\u8981\u4f7f\u7528<code>python3<\/code>\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3 -c &quot;import sys; print(sys.executable)&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u547d\u4ee4\u7684\u610f\u601d\u662f\u901a\u8fc7Python\u6267\u884c\u4e00\u6bb5\u811a\u672c\uff0c\u8be5\u811a\u672c\u5c06\u6253\u5370\u51faPython\u89e3\u91ca\u5668\u7684\u53ef\u6267\u884c\u6587\u4ef6\u8def\u5f84\u3002\u8f93\u51fa\u7684\u7ed3\u679c\u5373\u4e3aPython\u7684\u5b89\u88c5\u76ee\u5f55\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u89e3\u91ca\u8f93\u51fa\u7ed3\u679c<\/strong><\/p>\n<p>\u8f93\u51fa\u7ed3\u679c\u5c06\u663e\u793aPython\u7684\u53ef\u6267\u884c\u6587\u4ef6\u7684\u5b8c\u6574\u8def\u5f84\uff0c\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code>C:\\Users\\YourUsername\\AppData\\Local\\Programs\\Python\\Python39\\python.exe<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u8def\u5f84\u4e2d\uff0c\u53bb\u6389\u6700\u540e\u7684<code>python.exe<\/code>\uff0c\u5176\u4f59\u90e8\u5206\u5373\u4e3aPython\u7684\u5b89\u88c5\u76ee\u5f55\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u66f4\u6df1\u5165\u5730\u63a2\u8ba8\u5176\u4ed6\u67e5\u627ePython\u5b89\u88c5\u76ee\u5f55\u7684\u65b9\u6cd5\uff0c\u4ee5\u53ca\u76f8\u5173\u7684\u6ce8\u610f\u4e8b\u9879\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528\u547d\u4ee4\u884c\u6307\u4ee4<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u547d\u4ee4\u884c\u83b7\u53d6Python\u5b89\u88c5\u76ee\u5f55\u662f\u4e00\u79cd\u5e38\u89c1\u4e14\u6709\u6548\u7684\u65b9\u6cd5\u3002\u65e0\u8bba\u60a8\u4f7f\u7528\u7684\u662fWindows\u3001macOS\u8fd8\u662fLinux\u7cfb\u7edf\uff0c\u8fd9\u79cd\u65b9\u6cd5\u90fd\u9002\u7528\u3002\u5177\u4f53\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Windows\u7cfb\u7edf<\/strong><\/p>\n<p>\u5728Windows\u7cfb\u7edf\u4e2d\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u63d0\u793a\u7b26\uff08cmd\uff09\u6765\u67e5\u627ePython\u5b89\u88c5\u76ee\u5f55\u3002\u9996\u5148\uff0c\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">where python<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u5217\u51fa\u6240\u6709\u4e0ePython\u76f8\u5173\u7684\u53ef\u6267\u884c\u6587\u4ef6\u8def\u5f84\u3002\u901a\u5e38\uff0c\u7b2c\u4e00\u4e2a\u8def\u5f84\u5373\u4e3aPython\u7684\u5b89\u88c5\u76ee\u5f55\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>macOS\u548cLinux\u7cfb\u7edf<\/strong><\/p>\n<p>\u5728macOS\u548cLinux\u7cfb\u7edf\u4e2d\uff0c\u60a8\u53ef\u4ee5\u6253\u5f00\u7ec8\u7aef\u5e76\u8f93\u5165\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">which python<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6216\u8005\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">which python3<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u663e\u793aPython\u53ef\u6267\u884c\u6587\u4ef6\u7684\u8def\u5f84\uff0c\u60a8\u53ef\u4ee5\u6839\u636e\u8def\u5f84\u627e\u5230\u5b89\u88c5\u76ee\u5f55\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u89e3\u91ca\u547d\u4ee4\u8f93\u51fa<\/strong><\/p>\n<p>\u8fd9\u4e9b\u547d\u4ee4\u4f1a\u8f93\u51faPython\u53ef\u6267\u884c\u6587\u4ef6\u7684\u8def\u5f84\uff0c\u901a\u5e38\u5305\u542b\u5728\u73af\u5883\u53d8\u91cfPATH\u4e2d\u3002\u6839\u636e\u8def\u5f84\u4fe1\u606f\uff0c\u60a8\u53ef\u4ee5\u5224\u65ad\u51faPython\u7684\u5b89\u88c5\u76ee\u5f55\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u901a\u8fc7Python\u811a\u672c\u67e5\u627e<\/p>\n<\/p>\n<p><p>\u9664\u4e86\u547d\u4ee4\u884c\u6307\u4ee4\u5916\uff0c\u60a8\u8fd8\u53ef\u4ee5\u7f16\u5199\u4e00\u4e2a\u7b80\u5355\u7684Python\u811a\u672c\u6765\u67e5\u627e\u5b89\u88c5\u76ee\u5f55\u3002\u8fd9\u79cd\u65b9\u6cd5\u540c\u6837\u9002\u7528\u4e8e\u6240\u6709\u64cd\u4f5c\u7cfb\u7edf\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u7f16\u5199Python\u811a\u672c<\/strong><\/p>\n<p>\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Python\u6587\u4ef6\uff0c\u4f8b\u5982<code>find_python_path.py<\/code>\uff0c\u7136\u540e\u8f93\u5165\u4ee5\u4e0b\u4ee3\u7801\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>print(&quot;Python installation directory:&quot;, sys.prefix)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u5c06\u8f93\u51faPython\u53ef\u6267\u884c\u6587\u4ef6\u7684\u8def\u5f84\u4ee5\u53ca\u5b89\u88c5\u76ee\u5f55\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884cPython\u811a\u672c<\/strong><\/p>\n<p>\u5728\u547d\u4ee4\u884c\u4e2d\uff0c\u5bfc\u822a\u5230\u811a\u672c\u6240\u5728\u76ee\u5f55\uff0c\u7136\u540e\u8fd0\u884c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python find_python_path.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6216\u8005\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3 find_python_path.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u6253\u5370\u51faPython\u7684\u53ef\u6267\u884c\u6587\u4ef6\u8def\u5f84\u548c\u5b89\u88c5\u76ee\u5f55\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u89e3\u91ca\u8f93\u51fa\u7ed3\u679c<\/strong><\/p>\n<p><code>sys.executable<\/code>\u8fd4\u56dePython\u89e3\u91ca\u5668\u7684\u8def\u5f84\uff0c\u800c<code>sys.prefix<\/code>\u8fd4\u56de\u5b89\u88c5\u76ee\u5f55\u3002\u6839\u636e\u8f93\u51fa\u7ed3\u679c\uff0c\u60a8\u53ef\u4ee5\u8f7b\u677e\u627e\u5230Python\u7684\u5b89\u88c5\u4f4d\u7f6e\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u5728\u64cd\u4f5c\u7cfb\u7edf\u8bbe\u7f6e\u4e2d\u67e5\u627e<\/p>\n<\/p>\n<p><p>\u6709\u65f6\uff0c\u76f4\u63a5\u901a\u8fc7\u64cd\u4f5c\u7cfb\u7edf\u7684\u8bbe\u7f6e\u6765\u67e5\u627ePython\u5b89\u88c5\u76ee\u5f55\u4e5f\u662f\u4e00\u79cd\u53ef\u884c\u7684\u65b9\u6cd5\u3002\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u6709\u4e0d\u540c\u7684\u67e5\u627e\u65b9\u5f0f\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Windows\u7cfb\u7edf<\/strong><\/p>\n<p>\u5728Windows\u4e2d\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u201c\u63a7\u5236\u9762\u677f\u201d\u6216\u201c\u8bbe\u7f6e\u201d\u6765\u67e5\u627e\u5df2\u5b89\u88c5\u7684\u7a0b\u5e8f\u3002\u6253\u5f00\u201c\u8bbe\u7f6e\u201d\uff0c\u8fdb\u5165\u201c\u5e94\u7528\u548c\u529f\u80fd\u201d\uff0c\u5728\u5217\u8868\u4e2d\u627e\u5230Python\uff0c\u60a8\u53ef\u4ee5\u770b\u5230\u5b89\u88c5\u8def\u5f84\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>macOS\u7cfb\u7edf<\/strong><\/p>\n<p>\u5728macOS\u4e2d\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u201c\u8bbf\u8fbe\u201d\u5e94\u7528\uff0c\u8fdb\u5165\u201c\u5e94\u7528\u7a0b\u5e8f\u201d\u6587\u4ef6\u5939\uff0c\u67e5\u627ePython\u7684\u5b89\u88c5\u76ee\u5f55\u3002\u5982\u679c\u4f7f\u7528\u7684\u662fHomebrew\u5b89\u88c5\u7684Python\uff0c\u60a8\u53ef\u4ee5\u5728<code>\/usr\/local\/Cellar\/python\/<\/code>\u76ee\u5f55\u4e0b\u627e\u5230\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Linux\u7cfb\u7edf<\/strong><\/p>\n<p>\u5728Linux\u7cfb\u7edf\u4e2d\uff0cPython\u901a\u5e38\u9884\u88c5\u5728\u7cfb\u7edf\u4e2d\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u5305\u7ba1\u7406\u5de5\u5177\uff08\u5982<code>apt<\/code>\u6216<code>yum<\/code>\uff09\u6765\u67e5\u770bPython\u7684\u5b89\u88c5\u4fe1\u606f\uff0c\u6216\u8005\u5728<code>\/usr\/bin\/<\/code>\u76ee\u5f55\u4e0b\u67e5\u627ePython\u53ef\u6267\u884c\u6587\u4ef6\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u4f7f\u7528\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u67e5\u770b<\/p>\n<\/p>\n<p><p>\u5982\u679c\u60a8\u4f7f\u7528\u7684\u662fIDE\u8fdb\u884cPython\u5f00\u53d1\uff0cIDE\u901a\u5e38\u4f1a\u63d0\u4f9b\u67e5\u770bPython\u5b89\u88c5\u8def\u5f84\u7684\u529f\u80fd\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>PyCharm<\/strong><\/p>\n<p>\u5728PyCharm\u4e2d\uff0c\u60a8\u53ef\u4ee5\u6253\u5f00\u201c\u8bbe\u7f6e\u201d\u6216\u201c\u9996\u9009\u9879\u201d\u5bf9\u8bdd\u6846\uff0c\u5bfc\u822a\u5230\u201c\u9879\u76ee\uff1a&lt;\u60a8\u7684\u9879\u76ee\u540d&gt;\u201d -&gt; \u201cPython\u89e3\u91ca\u5668\u201d\uff0c\u5728\u89e3\u91ca\u5668\u8bbe\u7f6e\u4e2d\u67e5\u770bPython\u7684\u5b89\u88c5\u8def\u5f84\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Visual Studio Code<\/strong><\/p>\n<p>\u5728VS Code\u4e2d\uff0c\u60a8\u53ef\u4ee5\u6253\u5f00\u547d\u4ee4\u9762\u677f\uff08Ctrl+Shift+P\uff09\uff0c\u8f93\u5165\u201cPython: Select Interpreter\u201d\uff0c\u9009\u62e9\u5f53\u524d\u4f7f\u7528\u7684Python\u89e3\u91ca\u5668\uff0c\u8def\u5f84\u4f1a\u663e\u793a\u5728\u4e0b\u65b9\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5176\u4ed6IDE<\/strong><\/p>\n<p>\u5176\u4ed6IDE\u5982Spyder\u3001Eclipse\u7b49\uff0c\u4e5f\u901a\u5e38\u63d0\u4f9b\u67e5\u770bPython\u89e3\u91ca\u5668\u8def\u5f84\u7684\u529f\u80fd\u3002\u60a8\u53ef\u4ee5\u5728IDE\u7684\u8bbe\u7f6e\u4e2d\u67e5\u627e\u76f8\u5173\u9009\u9879\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u65b9\u6cd5\uff0c\u60a8\u53ef\u4ee5\u8f7b\u677e\u67e5\u627e\u5230Python\u7684\u5b89\u88c5\u76ee\u5f55\u3002\u65e0\u8bba\u60a8\u662f\u4f7f\u7528\u547d\u4ee4\u884c\u3001Python\u811a\u672c\u3001\u64cd\u4f5c\u7cfb\u7edf\u8bbe\u7f6e\u8fd8\u662fIDE\uff0c\u90fd\u80fd\u5feb\u901f\u5b9a\u4f4d\u5230Python\u7684\u5b89\u88c5\u4f4d\u7f6e\u3002\u8fd9\u5bf9\u4e8e\u7ba1\u7406Python\u73af\u5883\u3001\u5b89\u88c5\u65b0\u5305\u6216\u89e3\u51b3\u73af\u5883\u76f8\u5173\u95ee\u9898\u90fd\u975e\u5e38\u6709\u5e2e\u52a9\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u786e\u8ba4\u6211\u4f7f\u7528\u7684Python\u7248\u672c\uff1f<\/strong><br \/>\u8981\u786e\u8ba4\u60a8\u4f7f\u7528\u7684Python\u7248\u672c\uff0c\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u6216\u7ec8\u7aef\u4e2d\u8f93\u5165\u547d\u4ee4<code>python --version<\/code>\u6216<code>python3 --version<\/code>\u3002\u8fd9\u5c06\u663e\u793a\u5f53\u524d\u5b89\u88c5\u7684Python\u7248\u672c\u3002\u5982\u679c\u60a8\u6709\u591a\u4e2a\u7248\u672c\u7684Python\u5b89\u88c5\uff0c\u5efa\u8bae\u4f7f\u7528\u5b8c\u6574\u7684\u8def\u5f84\u6765\u786e\u4fdd\u60a8\u67e5\u770b\u7684\u662f\u6b63\u786e\u7684\u7248\u672c\u3002<\/p>\n<p><strong>\u5728Windows\u548cMac\u4e0a\u67e5\u627ePython\u5b89\u88c5\u8def\u5f84\u7684\u5177\u4f53\u6b65\u9aa4\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\u5728Windows\u4e0a\uff0c\u53ef\u4ee5\u901a\u8fc7\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u5e76\u8f93\u5165<code>where python<\/code>\u6765\u67e5\u627ePython\u7684\u5b89\u88c5\u8def\u5f84\u3002\u5728Mac\u4e0a\uff0c\u60a8\u53ef\u4ee5\u6253\u5f00\u7ec8\u7aef\u5e76\u8f93\u5165<code>which python<\/code>\u6216<code>which python3<\/code>\u3002\u8fd9\u4e9b\u547d\u4ee4\u5c06\u8fd4\u56dePython\u53ef\u6267\u884c\u6587\u4ef6\u7684\u5b8c\u6574\u8def\u5f84\u3002<\/p>\n<p><strong>\u5982\u679c\u6211\u5728\u7cfb\u7edf\u4e2d\u627e\u4e0d\u5230Python\uff0c\u5e94\u8be5\u600e\u4e48\u529e\uff1f<\/strong><br \/>\u5982\u679c\u60a8\u7684\u7cfb\u7edf\u672a\u5b89\u88c5Python\uff0c\u60a8\u53ef\u4ee5\u8bbf\u95eePython\u7684\u5b98\u65b9\u7f51\u7ad9\uff08python.org\uff09\u4e0b\u8f7d\u5e76\u5b89\u88c5\u6700\u65b0\u7248\u672c\u3002\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u786e\u4fdd\u9009\u62e9\u5c06Python\u6dfb\u52a0\u5230\u7cfb\u7edf\u8def\u5f84\u7684\u9009\u9879\uff0c\u4ee5\u4fbf\u5c06\u6765\u53ef\u4ee5\u8f7b\u677e\u67e5\u627e\u548c\u4f7f\u7528Python\u3002\u5b89\u88c5\u540e\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u4e0a\u8ff0\u547d\u4ee4\u6765\u9a8c\u8bc1\u5b89\u88c5\u548c\u67e5\u627e\u8def\u5f84\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u67e5\u627ePython\u5b89\u88c5\u76ee\u5f55\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u51e0\u79cd\u65b9\u6cd5\uff1a\u4f7f\u7528\u547d\u4ee4\u884c\u6307\u4ee4\u3001\u901a\u8fc7Python\u811a\u672c\u3001\u5728\u64cd\u4f5c\u7cfb\u7edf\u8bbe\u7f6e\u4e2d\u67e5\u627e\u3001\u4f7f\u7528 [&hellip;]","protected":false},"author":3,"featured_media":953004,"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\/953001"}],"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=953001"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/953001\/revisions"}],"predecessor-version":[{"id":953006,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/953001\/revisions\/953006"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/953004"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=953001"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=953001"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=953001"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}