{"id":1077109,"date":"2025-01-08T11:59:14","date_gmt":"2025-01-08T03:59:14","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1077109.html"},"modified":"2025-01-08T11:59:17","modified_gmt":"2025-01-08T03:59:17","slug":"python%e7%bc%96%e5%a5%bd%e7%9a%84%e7%a8%8b%e5%ba%8f%e5%a6%82%e4%bd%95%e8%ae%a9%e4%bb%96%e8%bf%90%e8%a1%8c-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1077109.html","title":{"rendered":"python\u7f16\u597d\u7684\u7a0b\u5e8f\u5982\u4f55\u8ba9\u4ed6\u8fd0\u884c"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24181335\/43df45c2-e8ab-4bf9-8c73-59b42d1e9e92.webp\" alt=\"python\u7f16\u597d\u7684\u7a0b\u5e8f\u5982\u4f55\u8ba9\u4ed6\u8fd0\u884c\" \/><\/p>\n<p><p> <strong>\u8981\u8fd0\u884c\u7f16\u597d\u7684Python\u7a0b\u5e8f\uff0c\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u884c\u3001\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u3001\u811a\u672c\u6587\u4ef6\u7b49\u65b9\u5f0f\uff0c\u5177\u4f53\u6b65\u9aa4\u5305\u62ec\u5b89\u88c5Python\u89e3\u91ca\u5668\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3001\u4f7f\u7528\u547d\u4ee4\u884c\u8fd0\u884c\u811a\u672c\u3002<\/strong> \u5b89\u88c5Python\u89e3\u91ca\u5668\u662f\u8fd0\u884cPython\u7a0b\u5e8f\u7684\u57fa\u672c\u524d\u63d0\uff0c\u5b83\u53ef\u4ee5\u89e3\u91ca\u5e76\u6267\u884cPython\u4ee3\u7801\u3002\u63a5\u4e0b\u6765\u5c06\u8be6\u7ec6\u63cf\u8ff0\u5982\u4f55\u4f7f\u7528\u547d\u4ee4\u884c\u8fd0\u884cPython\u811a\u672c\u3002<\/p>\n<\/p>\n<p><h2>\u4e00\u3001\u5b89\u88c5Python\u89e3\u91ca\u5668<\/h2>\n<\/p>\n<p><p>\u5728\u8fd0\u884cPython\u7a0b\u5e8f\u4e4b\u524d\uff0c\u9996\u5148\u9700\u8981\u786e\u4fdd\u8ba1\u7b97\u673a\u4e0a\u5df2\u7ecf\u5b89\u88c5\u4e86Python\u89e3\u91ca\u5668\u3002\u53ef\u4ee5\u4ecePython\u5b98\u65b9\u7f51\u7ad9\uff08<a href=\"https:\/\/www.python.org\/%EF%BC%89%E4%B8%8B%E8%BD%BD%E5%B9%B6%E5%AE%89%E8%A3%85%E9%80%82%E7%94%A8%E4%BA%8E%E6%82%A8%E7%9A%84%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E7%9A%84Python%E7%89%88%E6%9C%AC%E3%80%82%E5%AE%89%E8%A3%85%E8%BF%87%E7%A8%8B%E4%B8%AD%EF%BC%8C%E5%8A%A1%E5%BF%85%E5%8B%BE%E9%80%89%E2%80%9CAdd\">https:\/\/www.python.org\/\uff09\u4e0b\u8f7d\u5e76\u5b89\u88c5\u9002\u7528\u4e8e\u60a8\u7684\u64cd\u4f5c\u7cfb\u7edf\u7684Python\u7248\u672c\u3002\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u52a1\u5fc5\u52fe\u9009\u201cAdd<\/a> Python to PATH\u201d\u9009\u9879\uff0c\u8fd9\u6837\u53ef\u4ee5\u81ea\u52a8\u914d\u7f6e\u73af\u5883\u53d8\u91cf\uff0c\u65b9\u4fbf\u5728\u547d\u4ee4\u884c\u4e2d\u76f4\u63a5\u8c03\u7528Python\u3002<\/p>\n<\/p>\n<p><h2>\u4e8c\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/h2>\n<\/p>\n<p><p>\u5728Windows\u7cfb\u7edf\u4e2d\uff0c\u73af\u5883\u53d8\u91cf\u914d\u7f6e\u901a\u5e38\u5728\u5b89\u88c5Python\u65f6\u81ea\u52a8\u5b8c\u6210\u3002\u5982\u679c\u6ca1\u6709\uff0c\u53ef\u4ee5\u624b\u52a8\u914d\u7f6e\u3002\u6253\u5f00\u201c\u7cfb\u7edf\u5c5e\u6027\u201d\u5bf9\u8bdd\u6846\uff0c\u9009\u62e9\u201c\u9ad8\u7ea7\u7cfb\u7edf\u8bbe\u7f6e\u201d\uff0c\u70b9\u51fb\u201c\u73af\u5883\u53d8\u91cf\u201d\uff0c\u5728\u201c\u7cfb\u7edf\u53d8\u91cf\u201d\u4e2d\u627e\u5230\u201cPath\u201d\u53d8\u91cf\uff0c\u70b9\u51fb\u201c\u7f16\u8f91\u201d\uff0c\u5c06Python\u5b89\u88c5\u8def\u5f84\uff08\u5982C:\\Python39\uff09\u6dfb\u52a0\u8fdb\u53bb\u3002\u8fd9\u6837\u505a\u7684\u76ee\u7684\u662f\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u77e5\u9053Python\u89e3\u91ca\u5668\u7684\u4f4d\u7f6e\uff0c\u4ee5\u4fbf\u5728\u547d\u4ee4\u884c\u4e2d\u76f4\u63a5\u8fd0\u884cPython\u547d\u4ee4\u3002<\/p>\n<\/p>\n<p><p>\u5728Mac\u548cLinux\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u4fee\u6539<del>\/.bash_profile\u6216<\/del>\/.bashrc\u6587\u4ef6\u6765\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3002\u6253\u5f00\u7ec8\u7aef\uff0c\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\uff08\u5982nano\u6216vim\uff09\u7f16\u8f91\u6587\u4ef6\uff0c\u6dfb\u52a0\u5982\u4e0b\u5185\u5bb9\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-sh\">export PATH=&quot;\/usr\/local\/bin\/python3:$PATH&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4fdd\u5b58\u5e76\u9000\u51fa\u7f16\u8f91\u5668\uff0c\u7136\u540e\u5728\u7ec8\u7aef\u4e2d\u6267\u884c<code>source ~\/.bash_profile<\/code>\u6216<code>source ~\/.bashrc<\/code>\u547d\u4ee4\uff0c\u4f7f\u914d\u7f6e\u751f\u6548\u3002<\/p>\n<\/p>\n<p><h2>\u4e09\u3001\u4f7f\u7528\u547d\u4ee4\u884c\u8fd0\u884cPython\u811a\u672c<\/h2>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u547d\u4ee4\u884c\u5de5\u5177\uff1a\u5728Windows\u7cfb\u7edf\u4e2d\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u63d0\u793a\u7b26\uff08cmd\uff09\u6216PowerShell\uff0c\u5728Mac\u548cLinux\u7cfb\u7edf\u4e2d\u53ef\u4ee5\u4f7f\u7528\u7ec8\u7aef\uff08Terminal\uff09\u3002<\/li>\n<li>\u5bfc\u822a\u5230Python\u811a\u672c\u6240\u5728\u7684\u76ee\u5f55\uff1a\u4f7f\u7528cd\u547d\u4ee4\u5207\u6362\u5230\u5305\u542bPython\u811a\u672c\u7684\u76ee\u5f55\u3002\u4f8b\u5982\uff0c\u5982\u679c\u811a\u672c\u4f4d\u4e8eC:\\PythonProjects\u76ee\u5f55\u4e0b\uff0c\u53ef\u4ee5\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/li>\n<\/ol>\n<p><pre><code class=\"language-sh\">cd C:\\PythonProjects<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"3\">\n<li>\u8fd0\u884cPython\u811a\u672c\uff1a\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u8fd0\u884cPython\u811a\u672c\uff1a<\/li>\n<\/ol>\n<p><pre><code class=\"language-sh\">python script_name.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5176\u4e2d<code>script_name.py<\/code>\u662f\u60a8\u7684Python\u811a\u672c\u6587\u4ef6\u540d\u3002\u4f8b\u5982\uff0c\u5982\u679c\u60a8\u7684\u811a\u672c\u540d\u4e3ahello.py\uff0c\u53ef\u4ee5\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-sh\">python hello.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5982\u679cPython 3.x\u662f\u9ed8\u8ba4\u5b89\u88c5\u7248\u672c\uff0c\u60a8\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528<code>python<\/code>\u547d\u4ee4\u3002\u5982\u679c\u8ba1\u7b97\u673a\u4e0a\u540c\u65f6\u5b89\u88c5\u4e86Python 2.x\u548cPython 3.x\uff0c\u53ef\u80fd\u9700\u8981\u4f7f\u7528<code>python3<\/code>\u547d\u4ee4\u6765\u8fd0\u884cPython 3.x\u7248\u672c\u7684\u811a\u672c\u3002<\/p>\n<\/p>\n<p><h2>\u56db\u3001\u5728IDE\u4e2d\u8fd0\u884cPython\u7a0b\u5e8f<\/h2>\n<\/p>\n<p><p>\u9664\u4e86\u547d\u4ee4\u884c\uff0c\u8bb8\u591a\u5f00\u53d1\u4eba\u5458\u66f4\u559c\u6b22\u4f7f\u7528\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u6765\u7f16\u5199\u548c\u8fd0\u884cPython\u7a0b\u5e8f\u3002\u5e38\u89c1\u7684Python IDE\u6709PyCharm\u3001VSCode\u3001Jupyter Notebook\u7b49\u3002\u4ee5\u4e0b\u662f\u4f7f\u7528PyCharm\u8fd0\u884cPython\u7a0b\u5e8f\u7684\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li>\u4e0b\u8f7d\u5e76\u5b89\u88c5PyCharm\uff1a\u4ecePyCharm\u5b98\u7f51\uff08<a href=\"https:\/\/www.jetbrains.com\/pycharm\/%EF%BC%89%E4%B8%8B%E8%BD%BD%E5%B9%B6%E5%AE%89%E8%A3%85%E9%80%82%E7%94%A8%E4%BA%8E%E6%82%A8%E7%9A%84%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E7%9A%84PyCharm%E7%89%88%E6%9C%AC%E3%80%82\">https:\/\/www.jetbr<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>ns.com\/pycharm\/\uff09\u4e0b\u8f7d\u5e76\u5b89\u88c5\u9002\u7528\u4e8e\u60a8\u7684\u64cd\u4f5c\u7cfb\u7edf\u7684PyCharm\u7248\u672c\u3002<\/a><\/li>\n<li>\u521b\u5efa\u65b0\u9879\u76ee\u6216\u6253\u5f00\u73b0\u6709\u9879\u76ee\uff1a\u542f\u52a8PyCharm\uff0c\u9009\u62e9\u201cCreate New Project\u201d\u6216\u201cOpen\u201d\u6765\u521b\u5efa\u65b0\u9879\u76ee\u6216\u6253\u5f00\u73b0\u6709\u9879\u76ee\u3002<\/li>\n<li>\u521b\u5efaPython\u811a\u672c\uff1a\u5728\u9879\u76ee\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Python\u811a\u672c\u6587\u4ef6\uff08\u5982hello.py\uff09\u3002<\/li>\n<li>\u7f16\u5199\u4ee3\u7801\uff1a\u5728\u811a\u672c\u6587\u4ef6\u4e2d\u7f16\u5199Python\u4ee3\u7801\u3002<\/li>\n<li>\u8fd0\u884c\u811a\u672c\uff1a\u53f3\u952e\u70b9\u51fb\u811a\u672c\u6587\u4ef6\uff0c\u5728\u5f39\u51fa\u83dc\u5355\u4e2d\u9009\u62e9\u201cRun &#39;script_name&#39;\u201d\u9009\u9879\uff0cPyCharm\u5c06\u81ea\u52a8\u5728\u5185\u7f6e\u7ec8\u7aef\u4e2d\u8fd0\u884c\u811a\u672c\u3002<\/li>\n<\/ol>\n<p><h2>\u4e94\u3001\u4f7f\u7528\u6279\u5904\u7406\u6587\u4ef6\u6216Shell\u811a\u672c<\/h2>\n<\/p>\n<p><p>\u60a8\u8fd8\u53ef\u4ee5\u901a\u8fc7\u521b\u5efa\u6279\u5904\u7406\u6587\u4ef6\uff08Windows\uff09\u6216Shell\u811a\u672c\uff08Mac\u548cLinux\uff09\u6765\u8fd0\u884cPython\u7a0b\u5e8f\u3002\u8fd9\u6837\u53ef\u4ee5\u5c06\u8fd0\u884c\u547d\u4ee4\u4fdd\u5b58\u5230\u4e00\u4e2a\u6587\u4ef6\u4e2d\uff0c\u65b9\u4fbf\u91cd\u590d\u6267\u884c\u3002<\/p>\n<\/p>\n<ol>\n<li>\u5728Windows\u4e2d\u521b\u5efa\u6279\u5904\u7406\u6587\u4ef6\uff1a\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\uff08\u5982Notepad\uff09\u521b\u5efa\u4e00\u4e2a\u65b0\u6587\u4ef6\uff0c\u5728\u6587\u4ef6\u4e2d\u8f93\u5165\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/li>\n<\/ol>\n<p><pre><code class=\"language-sh\">@echo off<\/p>\n<p>python C:\\PythonProjects\\hello.py<\/p>\n<p>pause<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5c06\u6587\u4ef6\u4fdd\u5b58\u4e3a.bat\u6269\u5c55\u540d\uff08\u5982run_hello.bat\uff09\u3002\u53cc\u51fb\u8fd0\u884c\u8fd9\u4e2a\u6279\u5904\u7406\u6587\u4ef6\u5373\u53ef\u6267\u884cPython\u811a\u672c\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li>\u5728Mac\u548cLinux\u4e2d\u521b\u5efaShell\u811a\u672c\uff1a\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\u521b\u5efa\u4e00\u4e2a\u65b0\u6587\u4ef6\uff0c\u5728\u6587\u4ef6\u4e2d\u8f93\u5165\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/li>\n<\/ol>\n<p><pre><code class=\"language-sh\">#!\/bin\/bash<\/p>\n<p>python \/path\/to\/hello.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5c06\u6587\u4ef6\u4fdd\u5b58\u4e3a.sh\u6269\u5c55\u540d\uff08\u5982run_hello.sh\uff09\u3002\u5728\u7ec8\u7aef\u4e2d\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff0c\u4f7f\u811a\u672c\u5177\u6709\u53ef\u6267\u884c\u6743\u9650\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-sh\">chmod +x run_hello.sh<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\u8fd0\u884c\u811a\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-sh\">.\/run_hello.sh<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u516d\u3001\u603b\u7ed3<\/h2>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u60a8\u53ef\u4ee5\u5728\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u548c\u5f00\u53d1\u73af\u5883\u4e2d\u8fd0\u884cPython\u7a0b\u5e8f\u3002<strong>\u5b89\u88c5Python\u89e3\u91ca\u5668\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3001\u4f7f\u7528\u547d\u4ee4\u884c\u8fd0\u884c\u811a\u672c\u3001\u5728IDE\u4e2d\u8fd0\u884c\u7a0b\u5e8f\u3001\u4f7f\u7528\u6279\u5904\u7406\u6587\u4ef6\u6216Shell\u811a\u672c<\/strong>\uff0c\u8fd9\u4e9b\u65b9\u6cd5\u53ef\u4ee5\u5e2e\u52a9\u60a8\u9ad8\u6548\u5730\u6267\u884cPython\u4ee3\u7801\u3002\u6839\u636e\u4e2a\u4eba\u9700\u6c42\u548c\u4e60\u60ef\u9009\u62e9\u5408\u9002\u7684\u65b9\u5f0f\uff0c\u5c06\u5927\u5927\u63d0\u5347\u5f00\u53d1\u6548\u7387\u3002\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u5bf9\u60a8\u6709\u6240\u5e2e\u52a9\uff0c\u795d\u60a8\u5728Python\u7f16\u7a0b\u4e2d\u53d6\u5f97\u66f4\u5927\u7684\u8fdb\u6b65\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728\u6211\u7684\u7535\u8111\u4e0a\u8fd0\u884cPython\u7a0b\u5e8f\uff1f<\/strong><br \/>\u8981\u5728\u60a8\u7684\u7535\u8111\u4e0a\u8fd0\u884cPython\u7a0b\u5e8f\uff0c\u9996\u5148\u786e\u4fdd\u5df2\u5b89\u88c5Python\u89e3\u91ca\u5668\u3002\u60a8\u53ef\u4ee5\u4ecePython\u5b98\u7f51\uff08python.org\uff09\u4e0b\u8f7d\u5e76\u5b89\u88c5\u9002\u5408\u60a8\u64cd\u4f5c\u7cfb\u7edf\u7684\u7248\u672c\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\uff08Windows\u7684cmd\u6216Mac\/Linux\u7684\u7ec8\u7aef\uff09\u8fdb\u5165\u7a0b\u5e8f\u6240\u5728\u7684\u76ee\u5f55\uff0c\u4f7f\u7528\u547d\u4ee4<code>python \u6587\u4ef6\u540d.py<\/code>\u6765\u8fd0\u884c\u60a8\u7684\u7a0b\u5e8f\u3002<\/p>\n<p><strong>\u53ef\u4ee5\u901a\u8fc7\u54ea\u79cd\u65b9\u5f0f\u5728\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u6267\u884cPython\u811a\u672c\uff1f<\/strong><br \/>\u5728Windows\u4e0a\uff0c\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u63d0\u793a\u7b26\uff08cmd\uff09\u6216PowerShell\u6267\u884cPython\u811a\u672c\u3002\u5728Mac\u548cLinux\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u7ec8\u7aef\u6765\u8fd0\u884c\u811a\u672c\u3002\u5bf9\u4e8eIDE\u7528\u6237\uff0c\u50cfPyCharm\u6216VS Code\u7b49\u96c6\u6210\u5f00\u53d1\u73af\u5883\u4e5f\u63d0\u4f9b\u4e86\u4e00\u952e\u8fd0\u884c\u7684\u529f\u80fd\uff0c\u60a8\u53ea\u9700\u6253\u5f00\u811a\u672c\u5e76\u70b9\u51fb\u201c\u8fd0\u884c\u201d\u6309\u94ae\u5373\u53ef\u3002<\/p>\n<p><strong>\u5982\u4f55\u5904\u7406\u8fd0\u884cPython\u7a0b\u5e8f\u65f6\u53ef\u80fd\u51fa\u73b0\u7684\u9519\u8bef\uff1f<\/strong><br \/>\u8fd0\u884cPython\u7a0b\u5e8f\u65f6\u53ef\u80fd\u4f1a\u9047\u5230\u5404\u79cd\u9519\u8bef\uff0c\u4f8b\u5982\u8bed\u6cd5\u9519\u8bef\u6216\u8fd0\u884c\u65f6\u9519\u8bef\u3002\u5efa\u8bae\u60a8\u4ed4\u7ec6\u67e5\u770b\u9519\u8bef\u4fe1\u606f\uff0c\u901a\u5e38\u5b83\u4f1a\u6307\u793a\u51fa\u9519\u7684\u884c\u53f7\u548c\u7c7b\u578b\u3002\u4f7f\u7528Python\u7684\u8c03\u8bd5\u5de5\u5177\u6216\u8005\u5728\u4ee3\u7801\u4e2d\u6dfb\u52a0\u6253\u5370\u8bed\u53e5\uff0c\u53ef\u4ee5\u5e2e\u52a9\u60a8\u8ddf\u8e2a\u95ee\u9898\u6240\u5728\u3002\u540c\u65f6\uff0c\u786e\u4fdd\u60a8\u7684Python\u7248\u672c\u4e0e\u4ee3\u7801\u517c\u5bb9\uff0c\u5fc5\u8981\u65f6\u53ef\u4ee5\u67e5\u9605\u76f8\u5173\u6587\u6863\u6216\u5728\u7ebf\u793e\u533a\u83b7\u53d6\u652f\u6301\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u8fd0\u884c\u7f16\u597d\u7684Python\u7a0b\u5e8f\uff0c\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u884c\u3001\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u3001\u811a\u672c\u6587\u4ef6\u7b49\u65b9\u5f0f\uff0c\u5177\u4f53\u6b65\u9aa4\u5305\u62ec\u5b89\u88c5Pyth [&hellip;]","protected":false},"author":3,"featured_media":1077115,"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\/1077109"}],"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=1077109"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1077109\/revisions"}],"predecessor-version":[{"id":1077119,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1077109\/revisions\/1077119"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1077115"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1077109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1077109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1077109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}