{"id":987101,"date":"2024-12-27T07:50:41","date_gmt":"2024-12-26T23:50:41","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/987101.html"},"modified":"2024-12-27T07:50:44","modified_gmt":"2024-12-26T23:50:44","slug":"ubuntu%e5%a6%82%e4%bd%95%e6%89%93%e5%bc%80python%e6%96%87%e4%bb%b6","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/987101.html","title":{"rendered":"ubuntu\u5982\u4f55\u6253\u5f00python\u6587\u4ef6"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25063400\/d727dbd9-f610-4f5c-9091-6667a5f83c3a.webp\" alt=\"ubuntu\u5982\u4f55\u6253\u5f00python\u6587\u4ef6\" \/><\/p>\n<p><p> <strong>\u5728Ubuntu\u4e2d\u6253\u5f00Python\u6587\u4ef6\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528\u7ec8\u7aef\u547d\u4ee4\u3001\u6587\u672c\u7f16\u8f91\u5668\u3001IDE\u7b49\u3002\u63a8\u8350\u4f7f\u7528\u7ec8\u7aef\u547d\u4ee4\uff0c\u56e0\u4e3a\u5b83\u7b80\u5355\u76f4\u63a5\u3001\u652f\u6301Python\u4ea4\u4e92\u6a21\u5f0f\uff0c\u53ef\u4ee5\u8f7b\u677e\u6267\u884cPython\u811a\u672c\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u5728Ubuntu\u4e2d\u6253\u5f00\u548c\u8fd0\u884cPython\u6587\u4ef6\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u4f46\u6700\u5e38\u7528\u548c\u76f4\u63a5\u7684\u65b9\u6cd5\u662f\u901a\u8fc7\u7ec8\u7aef\u547d\u4ee4\u884c\u3002\u9996\u5148\uff0c\u786e\u4fdd\u4f60\u5df2\u7ecf\u5b89\u88c5\u4e86Python\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u68c0\u67e5Python\u7248\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3 --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528Python\u547d\u4ee4\u6765\u8fd0\u884cPython\u6587\u4ef6\u3002\u4f8b\u5982\uff0c\u5047\u8bbe\u4f60\u6709\u4e00\u4e2a\u540d\u4e3a<code>script.py<\/code>\u7684Python\u6587\u4ef6\uff0c\u4ee5\u4e0b\u662f\u8fd0\u884c\u5b83\u7684\u57fa\u672c\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3 script.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u8be6\u7ec6\u63cf\u8ff0\uff1a<\/strong><\/p>\n<\/p>\n<p><p>\u5728Ubuntu\u4e2d\u4f7f\u7528\u7ec8\u7aef\u547d\u4ee4\u884c\u6765\u6253\u5f00\u548c\u8fd0\u884cPython\u6587\u4ef6\u975e\u5e38\u76f4\u89c2\u3002\u9996\u5148\uff0c\u4f60\u9700\u8981\u5bfc\u822a\u5230\u5305\u542bPython\u6587\u4ef6\u7684\u76ee\u5f55\u3002\u53ef\u4ee5\u4f7f\u7528<code>cd<\/code>\u547d\u4ee4\u8fdb\u5165\u76ee\u5f55\uff0c\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">cd \/path\/to\/your\/python\/file<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e00\u65e6\u8fdb\u5165\u76ee\u5f55\uff0c\u4f7f\u7528<code>python3 script.py<\/code>\u547d\u4ee4\u53ef\u4ee5\u76f4\u63a5\u8fd0\u884cPython\u6587\u4ef6\u3002\u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\uff0c\u786e\u4fdd\u4f60\u4f7f\u7528\u7684\u662f\u6b63\u786e\u7684Python\u7248\u672c\uff0c\u56e0\u4e3aUbuntu\u7cfb\u7edf\u53ef\u80fd\u540c\u65f6\u5b89\u88c5\u4e86Python 2\u548cPython 3\u3002\u4f7f\u7528<code>python3<\/code>\u786e\u4fdd\u4f60\u8c03\u7528\u7684\u662fPython 3\u89e3\u91ca\u5668\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528\u7ec8\u7aef\u547d\u4ee4\u884c\u6253\u5f00\u548c\u8fd0\u884cPython\u6587\u4ef6<\/h3>\n<\/p>\n<p><p>Ubuntu\u7cfb\u7edf\u7684\u7ec8\u7aef\u662f\u4e00\u4e2a\u975e\u5e38\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u9002\u5408\u5feb\u901f\u6253\u5f00\u548c\u8fd0\u884cPython\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><h4>1. \u5b89\u88c5\u548c\u68c0\u67e5Python\u7248\u672c<\/h4>\n<\/p>\n<p><p>\u5728Ubuntu\u4e0a\uff0cPython 3\u901a\u5e38\u662f\u9ed8\u8ba4\u5b89\u88c5\u7684\uff0c\u4f46\u786e\u4fdd\u5b89\u88c5\u7684\u65b9\u5f0f\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo apt update<\/p>\n<p>sudo apt install python3<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u68c0\u67e5\u5b89\u88c5\u662f\u5426\u6210\u529f\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3 --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u5bfc\u822a\u5230Python\u6587\u4ef6\u6240\u5728\u76ee\u5f55<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528<code>cd<\/code>\u547d\u4ee4\u8fdb\u5165\u5230\u5b58\u653ePython\u6587\u4ef6\u7684\u76ee\u5f55\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">cd ~\/Documents\/PythonProjects<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u76ee\u5f55\u4e0b\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7<code>ls<\/code>\u547d\u4ee4\u67e5\u770b\u6587\u4ef6\u662f\u5426\u5b58\u5728\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">ls<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3. \u8fd0\u884cPython\u6587\u4ef6<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528Python\u547d\u4ee4\u6765\u8fd0\u884cPython\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3 your_script.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u7684Python\u6587\u4ef6\u9700\u8981\u7528\u6237\u8f93\u5165\uff0c\u53ef\u4ee5\u76f4\u63a5\u5728\u8fd0\u884c\u65f6\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\u6253\u5f00Python\u6587\u4ef6<\/h3>\n<\/p>\n<p><p>\u6587\u672c\u7f16\u8f91\u5668\u4e0d\u4ec5\u53ef\u4ee5\u67e5\u770b\u548c\u7f16\u8f91Python\u4ee3\u7801\uff0c\u8fd8\u53ef\u4ee5\u901a\u8fc7\u96c6\u6210\u7ec8\u7aef\u8fd0\u884cPython\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><h4>1. \u4f7f\u7528Nano\u7f16\u8f91\u5668<\/h4>\n<\/p>\n<p><p>Nano\u662fUbuntu\u4e2d\u9ed8\u8ba4\u7684\u547d\u4ee4\u884c\u6587\u672c\u7f16\u8f91\u5668\uff0c\u7b80\u5355\u6613\u7528\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">nano script.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f7f\u7528Nano\u7f16\u8f91\u5668\u6253\u5f00Python\u6587\u4ef6\u540e\uff0c\u4f60\u53ef\u4ee5\u7f16\u8f91\u6587\u4ef6\u5185\u5bb9\u3002\u6309<code>Ctrl + X<\/code>\uff0c\u7136\u540e\u6309<code>Y<\/code>\u6765\u4fdd\u5b58\u66f4\u6539\u5e76\u9000\u51fa\u3002<\/p>\n<\/p>\n<p><h4>2. \u4f7f\u7528Visual Studio Code<\/h4>\n<\/p>\n<p><p>VS Code\u662f\u4e00\u4e2a\u529f\u80fd\u5f3a\u5927\u7684\u56fe\u5f62\u5316\u6587\u672c\u7f16\u8f91\u5668\uff0c\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\u7684\u5f00\u53d1\u3002\u5b89\u88c5VS Code\u7684\u65b9\u5f0f\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo snap install --classic code<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u6253\u5f00Python\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">code script.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>VS Code\u652f\u6301\u76f4\u63a5\u5728\u7f16\u8f91\u5668\u4e2d\u8fd0\u884cPython\u6587\u4ef6\uff0c\u9700\u786e\u4fdd\u5b89\u88c5\u4e86Python\u6269\u5c55\u63d2\u4ef6\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u6253\u5f00Python\u6587\u4ef6<\/h3>\n<\/p>\n<p><p>IDE\u63d0\u4f9b\u4e86\u66f4\u591a\u7684\u529f\u80fd\uff0c\u5982\u8c03\u8bd5\u3001\u4ee3\u7801\u8865\u5168\u7b49\uff0c\u9002\u5408\u5927\u578b\u9879\u76ee\u7684\u5f00\u53d1\u3002<\/p>\n<\/p>\n<p><h4>1. \u4f7f\u7528PyCharm<\/h4>\n<\/p>\n<p><p>PyCharm\u662fJetBr<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>ns\u516c\u53f8\u63a8\u51fa\u7684\u4e00\u6b3ePython IDE\uff0c\u529f\u80fd\u4e30\u5bcc\u3002\u5b89\u88c5PyCharm\u7684\u65b9\u5f0f\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo snap install pycharm-community --classic<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f7f\u7528PyCharm\u6253\u5f00\u9879\u76ee\u6587\u4ef6\u5939\uff0c\u5e76\u5728\u9879\u76ee\u89c6\u56fe\u4e2d\u9009\u62e9\u9700\u8981\u8fd0\u884c\u7684Python\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><h4>2. \u4f7f\u7528Spyder<\/h4>\n<\/p>\n<p><p>Spyder\u662f\u4e00\u6b3e\u4e13\u4e3a\u79d1\u5b66\u8ba1\u7b97\u8bbe\u8ba1\u7684Python IDE\uff0c\u9002\u5408\u6570\u636e\u5206\u6790\u4e0e\u79d1\u5b66\u8ba1\u7b97\u3002\u5b89\u88c5Spyder\u7684\u65b9\u5f0f\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo apt install spyder<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u540e\uff0c\u901a\u8fc7\u5e94\u7528\u7a0b\u5e8f\u83dc\u5355\u542f\u52a8Spyder\uff0c\u5e76\u5728\u5176\u6587\u4ef6\u6d4f\u89c8\u5668\u4e2d\u6253\u5f00Python\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u4f7f\u7528\u5728\u7ebfPython\u89e3\u91ca\u5668\u6253\u5f00Python\u6587\u4ef6<\/h3>\n<\/p>\n<p><p>\u5f53\u672c\u5730\u73af\u5883\u4e0d\u4fbf\u4e8e\u5b89\u88c5\u6216\u914d\u7f6e\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u5728\u7ebfPython\u89e3\u91ca\u5668\u3002<\/p>\n<\/p>\n<p><h4>1. \u4f7f\u7528Repl.it<\/h4>\n<\/p>\n<p><p>Repl.it\u662f\u4e00\u4e2a\u5728\u7ebf\u7684\u5f00\u53d1\u73af\u5883\uff0c\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\uff0c\u5305\u62ecPython\u3002\u65e0\u9700\u5b89\u88c5\u8f6f\u4ef6\uff0c\u901a\u8fc7\u6d4f\u89c8\u5668\u5373\u53ef\u4f7f\u7528\u3002\u8bbf\u95eeRepl.it\u7f51\u7ad9\u540e\uff0c\u53ef\u4ee5\u521b\u5efa\u65b0\u7684Python\u9879\u76ee\u6216\u4e0a\u4f20\u73b0\u6709Python\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><h4>2. \u4f7f\u7528Google Colab<\/h4>\n<\/p>\n<p><p>Google Colab\u662f\u4e00\u4e2a\u514d\u8d39\u7684\u5728\u7ebfJupyter Notebook\u73af\u5883\uff0c\u7279\u522b\u9002\u5408<a href=\"https:\/\/docs.pingcode.com\/ask\/59192.html\" target=\"_blank\">\u673a\u5668\u5b66\u4e60<\/a>\u548c\u6570\u636e\u5206\u6790\u3002\u9700\u8981\u4e00\u4e2aGoogle\u8d26\u53f7\u6765\u4f7f\u7528Colab\uff0c\u8bbf\u95eeColab\u540e\uff0c\u53ef\u4ee5\u521b\u5efa\u65b0\u7684\u7b14\u8bb0\u672c\u6216\u4e0a\u4f20Python\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u5728Python\u4ea4\u4e92\u6a21\u5f0f\u4e0b\u6253\u5f00\u548c\u8fd0\u884c\u4ee3\u7801<\/h3>\n<\/p>\n<p><p>Python\u4ea4\u4e92\u6a21\u5f0f\u5141\u8bb8\u4f60\u9010\u884c\u8f93\u5165Python\u4ee3\u7801\u5e76\u7acb\u5373\u67e5\u770b\u7ed3\u679c\u3002<\/p>\n<\/p>\n<p><h4>1. \u542f\u52a8Python\u4ea4\u4e92\u6a21\u5f0f<\/h4>\n<\/p>\n<p><p>\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u542f\u52a8Python\u4ea4\u4e92\u6a21\u5f0f\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6b64\u65f6\uff0c\u4f60\u4f1a\u770b\u5230\u4e00\u4e2a<code>&gt;&gt;&gt;<\/code>\u63d0\u793a\u7b26\uff0c\u8868\u793a\u53ef\u4ee5\u8f93\u5165Python\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><h4>2. \u8f93\u5165\u5e76\u8fd0\u884c\u4ee3\u7801<\/h4>\n<\/p>\n<p><p>\u5728\u4ea4\u4e92\u6a21\u5f0f\u4e0b\uff0c\u53ef\u4ee5\u9010\u884c\u8f93\u5165Python\u4ee3\u7801\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">&gt;&gt;&gt; print(&quot;Hello, World!&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4ee3\u7801\u4f1a\u7acb\u5373\u6267\u884c\u5e76\u663e\u793a\u7ed3\u679c\u3002\u8f93\u5165<code>exit()<\/code>\u6216\u6309<code>Ctrl + D<\/code>\u9000\u51fa\u4ea4\u4e92\u6a21\u5f0f\u3002<\/p>\n<\/p>\n<p><p><strong>\u603b\u7ed3\uff1a<\/strong><\/p>\n<\/p>\n<p><p>Ubuntu\u5e73\u53f0\u4e0a\u6253\u5f00\u548c\u8fd0\u884cPython\u6587\u4ef6\u6709\u591a\u79cd\u65b9\u5f0f\uff0c\u5305\u62ec\u4f7f\u7528\u7ec8\u7aef\u547d\u4ee4\u884c\u3001\u6587\u672c\u7f16\u8f91\u5668\u3001\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u548c\u5728\u7ebfPython\u89e3\u91ca\u5668\u3002\u9009\u62e9\u54ea\u79cd\u65b9\u5f0f\u53d6\u51b3\u4e8e\u4f60\u7684\u5177\u4f53\u9700\u6c42\u548c\u73af\u5883\u914d\u7f6e\u3002\u5728\u8fdb\u884cPython\u5f00\u53d1\u65f6\uff0c\u786e\u4fdd\u4f60\u7684\u5f00\u53d1\u73af\u5883\u4e2d\u5b89\u88c5\u4e86\u6240\u9700\u7684Python\u7248\u672c\u548c\u76f8\u5173\u5de5\u5177\uff0c\u4ee5\u4fbf\u987a\u5229\u8fdb\u884c\u5f00\u53d1\u5de5\u4f5c\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Ubuntu\u4e2d\u5b89\u88c5Python\u73af\u5883\u4ee5\u4fbf\u6253\u5f00Python\u6587\u4ef6\uff1f<\/strong><br \/>\u5728Ubuntu\u4e2d\uff0cPython\u901a\u5e38\u5df2\u7ecf\u9884\u88c5\uff0c\u4f46\u5982\u679c\u4f60\u9700\u8981\u7279\u5b9a\u7248\u672c\uff0c\u53ef\u4ee5\u901a\u8fc7\u7ec8\u7aef\u4f7f\u7528\u547d\u4ee4<code>sudo apt-get install python3<\/code>\u5b89\u88c5Python 3\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u7ec8\u7aef\u8fd0\u884c<code>python3 --version<\/code>\u6765\u68c0\u67e5\u5b89\u88c5\u662f\u5426\u6210\u529f\u3002<\/p>\n<p><strong>\u4f7f\u7528\u4ec0\u4e48\u6587\u672c\u7f16\u8f91\u5668\u53ef\u4ee5\u6253\u5f00Python\u6587\u4ef6\uff1f<\/strong><br \/>\u5728Ubuntu\u4e2d\uff0c\u6709\u591a\u79cd\u6587\u672c\u7f16\u8f91\u5668\u53ef\u4f9b\u9009\u62e9\u3002\u5e38\u89c1\u7684\u5305\u62ecGedit\uff08\u81ea\u5e26\u7684\u6587\u672c\u7f16\u8f91\u5668\uff09\u3001Visual Studio Code\u548cSublime Text\u7b49\u3002\u4f7f\u7528\u547d\u4ee4<code>gedit filename.py<\/code>\u53ef\u4ee5\u5feb\u901f\u6253\u5f00Python\u6587\u4ef6\uff0c\u5176\u4ed6\u7f16\u8f91\u5668\u4e5f\u53ef\u4ee5\u901a\u8fc7\u76f8\u5e94\u7684\u547d\u4ee4\u6216\u56fe\u5f62\u754c\u9762\u6253\u5f00\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728\u7ec8\u7aef\u4e2d\u6267\u884cPython\u6587\u4ef6\uff1f<\/strong><br \/>\u8981\u5728Ubuntu\u4e2d\u6267\u884cPython\u6587\u4ef6\uff0c\u6253\u5f00\u7ec8\u7aef\u5e76\u5bfc\u822a\u5230\u6587\u4ef6\u6240\u5728\u7684\u76ee\u5f55\u3002\u4f7f\u7528\u547d\u4ee4<code>python3 filename.py<\/code>\u6765\u8fd0\u884cPython\u6587\u4ef6\u3002\u5982\u679c\u4f60\u7684Python\u6587\u4ef6\u6709\u6267\u884c\u6743\u9650\uff0c\u53ef\u4ee5\u76f4\u63a5\u7528<code>.\/filename.py<\/code>\u547d\u4ee4\u6765\u8fd0\u884c\uff0c\u524d\u63d0\u662f\u6587\u4ef6\u7684\u7b2c\u4e00\u884c\u9700\u8981\u6307\u5b9a\u89e3\u91ca\u5668\uff0c\u4f8b\u5982<code>#!\/usr\/bin\/env python3<\/code>\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Ubuntu\u4e2d\u6253\u5f00Python\u6587\u4ef6\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528\u7ec8\u7aef\u547d\u4ee4\u3001\u6587\u672c\u7f16\u8f91\u5668\u3001IDE\u7b49\u3002\u63a8\u8350\u4f7f\u7528\u7ec8\u7aef\u547d\u4ee4\uff0c\u56e0\u4e3a\u5b83\u7b80\u5355 [&hellip;]","protected":false},"author":3,"featured_media":987117,"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\/987101"}],"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=987101"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/987101\/revisions"}],"predecessor-version":[{"id":987119,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/987101\/revisions\/987119"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/987117"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=987101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=987101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=987101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}