{"id":1136182,"date":"2025-01-08T21:33:10","date_gmt":"2025-01-08T13:33:10","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1136182.html"},"modified":"2025-01-08T21:33:12","modified_gmt":"2025-01-08T13:33:12","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8python%e4%b8%ad%e8%bf%90%e8%a1%8c%e8%84%9a%e6%9c%ac%e6%96%87%e4%bb%b6%e6%a0%bc%e5%bc%8f","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1136182.html","title":{"rendered":"\u5982\u4f55\u5728python\u4e2d\u8fd0\u884c\u811a\u672c\u6587\u4ef6\u683c\u5f0f"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25104640\/72f03f0e-43bb-442a-9116-013d89c0e49a.webp\" alt=\"\u5982\u4f55\u5728python\u4e2d\u8fd0\u884c\u811a\u672c\u6587\u4ef6\u683c\u5f0f\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u8fd0\u884c\u811a\u672c\u6587\u4ef6\u683c\u5f0f\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u5305\u62ec\u547d\u4ee4\u884c\u8fd0\u884c\u3001IDE\u8fd0\u884c\u3001\u901a\u8fc7\u811a\u672c\u6587\u4ef6\u8fd0\u884c\u7b49\u3002<\/strong> \u5176\u4e2d\uff0c<strong>\u547d\u4ee4\u884c\u8fd0\u884c<\/strong>\u662f\u6700\u5e38\u7528\u7684\u65b9\u6cd5\uff0c\u56e0\u4e3a\u5b83\u9002\u7528\u4e8e\u591a\u79cd\u64cd\u4f5c\u7cfb\u7edf\u5e76\u4e14\u64cd\u4f5c\u7b80\u5355\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u901a\u8fc7\u547d\u4ee4\u884c\u8fd0\u884cPython\u811a\u672c\u6587\u4ef6\u3002<\/p>\n<\/p>\n<h2><strong>\u4e00\u3001\u547d\u4ee4\u884c\u8fd0\u884cPython\u811a\u672c<\/strong><\/h2>\n<p><h2>1.1\u3001\u5728Windows\u4e0a\u8fd0\u884c<\/h2>\n<\/p>\n<p><p>\u5728Windows\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u63d0\u793a\u7b26\uff08cmd\uff09\u6765\u8fd0\u884cPython\u811a\u672c\u3002\u9996\u5148\uff0c\u786e\u4fddPython\u5df2\u7ecf\u6b63\u786e\u5b89\u88c5\u5e76\u914d\u7f6e\u4e86\u73af\u5883\u53d8\u91cf\u3002\u7136\u540e\uff0c\u6309\u4ee5\u4e0b\u6b65\u9aa4\u64cd\u4f5c\uff1a<\/p>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff1a\u6309 <code>Win + R<\/code> \u952e\uff0c\u8f93\u5165 <code>cmd<\/code>\uff0c\u7136\u540e\u6309\u56de\u8f66\u3002<\/li>\n<li>\u5bfc\u822a\u5230Python\u811a\u672c\u6240\u5728\u7684\u76ee\u5f55\uff1a\u4f7f\u7528 <code>cd<\/code> \u547d\u4ee4\u3002\u4f8b\u5982\uff0c\u5982\u679c\u811a\u672c\u5728\u684c\u9762\u4e0a\uff1a\n<pre><code class=\"language-sh\">cd C:\\Users\\YourUsername\\Desktop<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\u8f93\u5165\u5e76\u8fd0\u884cPython\u811a\u672c\uff1a\u4f7f\u7528 <code>python<\/code> \u547d\u4ee4\u3002\u4f8b\u5982\uff0c\u8fd0\u884c\u540d\u4e3a <code>script.py<\/code> \u7684\u811a\u672c\uff1a\n<pre><code class=\"language-sh\">python script.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><h2>1.2\u3001\u5728Mac\u548cLinux\u4e0a\u8fd0\u884c<\/h2>\n<\/p>\n<p><p>\u5728Mac\u548cLinux\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u7ec8\u7aef\uff08Terminal\uff09\u6765\u8fd0\u884cPython\u811a\u672c\u3002\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u7ec8\u7aef\uff1a\u5728Mac\u4e0a\uff0c\u53ef\u4ee5\u901a\u8fc7 <code>Spotlight<\/code> \u641c\u7d22\u7ec8\u7aef\u3002\u5728Linux\u4e0a\uff0c\u53ef\u4ee5\u901a\u8fc7\u5feb\u6377\u952e <code>Ctrl + Alt + T<\/code> \u6253\u5f00\u3002<\/li>\n<li>\u5bfc\u822a\u5230Python\u811a\u672c\u6240\u5728\u7684\u76ee\u5f55\uff1a\u4f7f\u7528 <code>cd<\/code> \u547d\u4ee4\u3002\u4f8b\u5982\uff0c\u5982\u679c\u811a\u672c\u5728\u684c\u9762\u4e0a\uff1a\n<pre><code class=\"language-sh\">cd ~\/Desktop<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\u8f93\u5165\u5e76\u8fd0\u884cPython\u811a\u672c\uff1a\u4f7f\u7528 <code>python3<\/code> \u547d\u4ee4\u3002\u4f8b\u5982\uff0c\u8fd0\u884c\u540d\u4e3a <code>script.py<\/code> \u7684\u811a\u672c\uff1a\n<pre><code class=\"language-sh\">python3 script.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<h2><strong>\u4e8c\u3001\u4f7f\u7528\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u8fd0\u884cPython\u811a\u672c<\/strong><\/h2>\n<p><h2>2.1\u3001PyCharm<\/h2>\n<\/p>\n<p><p>PyCharm\u662f\u4e00\u4e2a\u529f\u80fd\u5f3a\u5927\u7684Python IDE\uff0c\u53ef\u4ee5\u5e2e\u52a9\u4f60\u8f7b\u677e\u5730\u7f16\u5199\u548c\u8fd0\u884cPython\u811a\u672c\u3002\u4ee5\u4e0b\u662f\u4f7f\u7528PyCharm\u8fd0\u884cPython\u811a\u672c\u7684\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u5b89\u88c5PyCharm<\/strong>\uff1a\u4eceJetBrains\u5b98\u7f51\uff08<a href=\"https:\/\/www.jetbrains.com\/pycharm\/download\/%EF%BC%89%E4%B8%8B%E8%BD%BD%E5%B9%B6%E5%AE%89%E8%A3%85PyCharm%E3%80%82\">https:\/\/www.jetbr<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>ns.com\/pycharm\/download\/\uff09\u4e0b\u8f7d\u5e76\u5b89\u88c5PyCharm\u3002<\/a><\/li>\n<li><strong>\u521b\u5efa\u9879\u76ee<\/strong>\uff1a\u6253\u5f00PyCharm\uff0c\u70b9\u51fb <code>New Project<\/code>\uff0c\u9009\u62e9\u9879\u76ee\u7684\u4f4d\u7f6e\u548cPython\u89e3\u91ca\u5668\u3002<\/li>\n<li><strong>\u521b\u5efaPython\u6587\u4ef6<\/strong>\uff1a\u53f3\u952e\u70b9\u51fb\u9879\u76ee\u540d\u79f0\uff0c\u9009\u62e9 <code>New -&gt; Python File<\/code>\uff0c\u8f93\u5165\u6587\u4ef6\u540d\u3002<\/li>\n<li><strong>\u7f16\u5199\u4ee3\u7801<\/strong>\uff1a\u5728\u65b0\u521b\u5efa\u7684Python\u6587\u4ef6\u4e2d\u7f16\u5199\u4f60\u7684Python\u4ee3\u7801\u3002<\/li>\n<li><strong>\u8fd0\u884c\u811a\u672c<\/strong>\uff1a\u53f3\u952e\u70b9\u51fbPython\u6587\u4ef6\uff0c\u9009\u62e9 <code>Run &#39;filename&#39;<\/code>\u3002\u6216\u8005\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u7eff\u8272\u8fd0\u884c\u6309\u94ae\u3002<\/li>\n<\/ol>\n<p><h2>2.2\u3001VS Code<\/h2>\n<\/p>\n<p><p>Visual Studio Code\uff08VS Code\uff09\u662f\u4e00\u6b3e\u6d41\u884c\u7684\u4ee3\u7801\u7f16\u8f91\u5668\uff0c\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\uff0c\u5305\u62ecPython\u3002\u4ee5\u4e0b\u662f\u4f7f\u7528VS Code\u8fd0\u884cPython\u811a\u672c\u7684\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u5b89\u88c5VS Code<\/strong>\uff1a\u4eceVS Code\u5b98\u7f51\uff08<a href=\"https:\/\/code.visualstudio.com\/%EF%BC%89%E4%B8%8B%E8%BD%BD%E5%B9%B6%E5%AE%89%E8%A3%85VS\">https:\/\/code.visualstudio.com\/\uff09\u4e0b\u8f7d\u5e76\u5b89\u88c5VS<\/a> Code\u3002<\/li>\n<li><strong>\u5b89\u88c5Python\u6269\u5c55<\/strong>\uff1a\u5728VS Code\u4e2d\uff0c\u70b9\u51fb\u5de6\u4fa7\u7684\u6269\u5c55\u56fe\u6807\uff0c\u641c\u7d22 <code>Python<\/code>\uff0c\u7136\u540e\u5b89\u88c5\u7531Microsoft\u63d0\u4f9b\u7684Python\u6269\u5c55\u3002<\/li>\n<li><strong>\u6253\u5f00\u6587\u4ef6\u5939<\/strong>\uff1a\u70b9\u51fb <code>File -&gt; Open Folder<\/code>\uff0c\u9009\u62e9\u5305\u542bPython\u811a\u672c\u7684\u6587\u4ef6\u5939\u3002<\/li>\n<li><strong>\u521b\u5efaPython\u6587\u4ef6<\/strong>\uff1a\u70b9\u51fb\u5de6\u4fa7\u7684\u6587\u4ef6\u56fe\u6807\uff0c\u53f3\u952e\u9009\u62e9 <code>New File<\/code>\uff0c\u8f93\u5165\u6587\u4ef6\u540d\u5e76\u6dfb\u52a0 <code>.py<\/code> \u540e\u7f00\u3002<\/li>\n<li><strong>\u7f16\u5199\u4ee3\u7801<\/strong>\uff1a\u5728\u65b0\u521b\u5efa\u7684Python\u6587\u4ef6\u4e2d\u7f16\u5199\u4f60\u7684Python\u4ee3\u7801\u3002<\/li>\n<li><strong>\u8fd0\u884c\u811a\u672c<\/strong>\uff1a\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u7eff\u8272\u8fd0\u884c\u6309\u94ae\uff0c\u6216\u8005\u6309 <code>Ctrl + Shift + P<\/code>\uff0c\u8f93\u5165 <code>Run Python File<\/code>\uff0c\u9009\u62e9\u76f8\u5e94\u7684\u547d\u4ee4\u3002<\/li>\n<\/ol>\n<h2><strong>\u4e09\u3001\u901a\u8fc7\u811a\u672c\u6587\u4ef6\u8fd0\u884c<\/strong><\/h2>\n<p><h2>3.1\u3001\u6dfb\u52a0Shebang\u884c<\/h2>\n<\/p>\n<p><p>\u5728Unix\u548cLinux\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u5728Python\u811a\u672c\u6587\u4ef6\u7684\u9876\u90e8\u6dfb\u52a0Shebang\u884c\u6765\u76f4\u63a5\u8fd0\u884c\u811a\u672c\u3002Shebang\u884c\u544a\u8bc9\u7cfb\u7edf\u4f7f\u7528\u54ea\u4e2a\u89e3\u91ca\u5668\u6765\u8fd0\u884c\u811a\u672c\u3002\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u7f16\u8f91\u811a\u672c\u6587\u4ef6<\/strong>\uff1a\u5728Python\u811a\u672c\u6587\u4ef6\u7684\u7b2c\u4e00\u884c\u6dfb\u52a0Shebang\u884c\uff1a\n<pre><code class=\"language-python\">#!\/usr\/bin\/env python3<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li><strong>\u4fee\u6539\u6743\u9650<\/strong>\uff1a\u4f7f\u7528 <code>chmod<\/code> \u547d\u4ee4\u8d4b\u4e88\u811a\u672c\u53ef\u6267\u884c\u6743\u9650\uff1a\n<pre><code class=\"language-sh\">chmod +x script.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li><strong>\u8fd0\u884c\u811a\u672c<\/strong>\uff1a\u5728\u7ec8\u7aef\u4e2d\u76f4\u63a5\u8fd0\u884c\u811a\u672c\uff1a\n<pre><code class=\"language-sh\">.\/script.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><h2>3.2\u3001\u5728Windows\u4e0a\u521b\u5efa\u6279\u5904\u7406\u6587\u4ef6<\/h2>\n<\/p>\n<p><p>\u5728Windows\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u521b\u5efa\u6279\u5904\u7406\u6587\u4ef6\uff08.bat\uff09\u6765\u8fd0\u884cPython\u811a\u672c\u3002\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u521b\u5efa\u6279\u5904\u7406\u6587\u4ef6<\/strong>\uff1a\u5728\u811a\u672c\u6240\u5728\u7684\u76ee\u5f55\u4e2d\u65b0\u5efa\u4e00\u4e2a\u6587\u672c\u6587\u4ef6\uff0c\u5e76\u5c06\u6269\u5c55\u540d\u6539\u4e3a <code>.bat<\/code>\u3002<\/li>\n<li><strong>\u7f16\u8f91\u6279\u5904\u7406\u6587\u4ef6<\/strong>\uff1a\u5728\u6279\u5904\u7406\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9\uff1a\n<pre><code class=\"language-bat\">@echo off<\/p>\n<p>python script.py<\/p>\n<p>pause<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li><strong>\u8fd0\u884c\u6279\u5904\u7406\u6587\u4ef6<\/strong>\uff1a\u53cc\u51fb\u6279\u5904\u7406\u6587\u4ef6\uff0c\u5c06\u81ea\u52a8\u8fd0\u884cPython\u811a\u672c\u3002<\/li>\n<\/ol>\n<h2><strong>\u56db\u3001\u603b\u7ed3<\/strong><\/h2>\n<p><p>\u901a\u8fc7\u672c\u6587\u7684\u4ecb\u7ecd\uff0c\u6211\u4eec\u8be6\u7ec6\u8ba8\u8bba\u4e86\u5728Python\u4e2d\u8fd0\u884c\u811a\u672c\u6587\u4ef6\u7684\u591a\u79cd\u65b9\u6cd5\uff0c\u5305\u62ec\u547d\u4ee4\u884c\u8fd0\u884c\u3001\u4f7f\u7528\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u8fd0\u884c\uff0c\u4ee5\u53ca\u901a\u8fc7\u811a\u672c\u6587\u4ef6\u8fd0\u884c\u3002<strong>\u547d\u4ee4\u884c\u8fd0\u884c<\/strong>\u662f\u6700\u5e38\u7528\u7684\u65b9\u6cd5\uff0c\u9002\u7528\u4e8e\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5e76\u4e14\u64cd\u4f5c\u7b80\u5355\u3002<strong>\u4f7f\u7528IDE\u8fd0\u884c<\/strong>\u65b9\u6cd5\u5bf9\u4e8e\u5f00\u53d1\u8005\u6765\u8bf4\u66f4\u52a0\u65b9\u4fbf\uff0c\u56e0\u4e3aIDE\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u5f00\u53d1\u5de5\u5177\u548c\u8c03\u8bd5\u529f\u80fd\u3002<strong>\u901a\u8fc7\u811a\u672c\u6587\u4ef6\u8fd0\u884c<\/strong>\u65b9\u6cd5\u9002\u7528\u4e8e\u9700\u8981\u9891\u7e41\u8fd0\u884c\u7684\u811a\u672c\uff0c\u5c24\u5176\u662f\u5728Unix\u548cLinux\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7Shebang\u884c\u548c\u4fee\u6539\u6743\u9650\u6765\u76f4\u63a5\u8fd0\u884c\u811a\u672c\u3002\u5728Windows\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u521b\u5efa\u6279\u5904\u7406\u6587\u4ef6\u6765\u5b9e\u73b0\u540c\u6837\u7684\u6548\u679c\u3002<\/p>\n<\/p>\n<p><p>\u5e0c\u671b\u672c\u6587\u80fd\u591f\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u7406\u89e3\u5e76\u638c\u63e1\u5728Python\u4e2d\u8fd0\u884c\u811a\u672c\u6587\u4ef6\u7684\u5404\u79cd\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u8fd0\u884c\u4e0d\u540c\u683c\u5f0f\u7684\u811a\u672c\u6587\u4ef6\uff1f<\/strong><br \/>Python\u652f\u6301\u591a\u79cd\u6587\u4ef6\u683c\u5f0f\uff0c\u5305\u62ec.py\u3001.pyw\u548c.ipynb\u7b49\u3002\u8981\u8fd0\u884c.py\u548c.pyw\u683c\u5f0f\u7684\u6587\u4ef6\uff0c\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u884c\u6216\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u3002\u5bf9\u4e8e.ipynb\u6587\u4ef6\uff0c\u901a\u5e38\u9700\u8981\u4f7f\u7528Jupyter Notebook\u3002\u786e\u4fdd\u5b89\u88c5\u4e86\u76f8\u5e94\u7684\u5e93\u548c\u5de5\u5177\uff0c\u8fd9\u6837\u53ef\u4ee5\u987a\u5229\u8fd0\u884c\u811a\u672c\u3002<\/p>\n<p><strong>\u5728\u547d\u4ee4\u884c\u4e2d\u5982\u4f55\u6267\u884cPython\u811a\u672c\uff1f<\/strong><br \/>\u5728\u547d\u4ee4\u884c\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u8f93\u5165<code>python script.py<\/code>\u6765\u6267\u884c\u540d\u4e3ascript.py\u7684Python\u811a\u672c\u3002\u786e\u4fdd\u5728\u547d\u4ee4\u884c\u4e2d\u8fdb\u5165\u811a\u672c\u6240\u5728\u7684\u76ee\u5f55\uff0c\u5e76\u4e14Python\u5df2\u6b63\u786e\u5b89\u88c5\u3002\u540c\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528<code>python3<\/code>\u547d\u4ee4\u6765\u786e\u4fdd\u4f7f\u7528Python 3\u7248\u672c\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728IDE\u4e2d\u8fd0\u884cPython\u811a\u672c\uff1f<\/strong><br \/>\u5728\u8bf8\u5982PyCharm\u3001VSCode\u6216Spyder\u7b49\u96c6\u6210\u5f00\u53d1\u73af\u5883\u4e2d\uff0c\u6253\u5f00Python\u811a\u672c\u6587\u4ef6\u540e\uff0c\u901a\u5e38\u4f1a\u6709\u4e00\u4e2a\u201c\u8fd0\u884c\u201d\u6309\u94ae\u3002\u70b9\u51fb\u6b64\u6309\u94ae\uff0cIDE\u4f1a\u81ea\u52a8\u5904\u7406\u6587\u4ef6\u8def\u5f84\u548cPython\u73af\u5883\u8bbe\u7f6e\u3002\u5982\u679c\u9700\u8981\u8c03\u8bd5\u4ee3\u7801\uff0cIDE\u901a\u5e38\u4e5f\u63d0\u4f9b\u4e86\u8c03\u8bd5\u5de5\u5177\uff0c\u53ef\u4ee5\u9010\u6b65\u8fd0\u884c\u4ee3\u7801\uff0c\u67e5\u770b\u53d8\u91cf\u503c\u548c\u7a0b\u5e8f\u6d41\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u8fd0\u884c\u811a\u672c\u6587\u4ef6\u683c\u5f0f\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u5305\u62ec\u547d\u4ee4\u884c\u8fd0\u884c\u3001IDE\u8fd0\u884c\u3001\u901a\u8fc7\u811a\u672c\u6587\u4ef6\u8fd0\u884c\u7b49\u3002 \u5176\u4e2d\uff0c\u547d\u4ee4\u884c\u8fd0 [&hellip;]","protected":false},"author":3,"featured_media":1136190,"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\/1136182"}],"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=1136182"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1136182\/revisions"}],"predecessor-version":[{"id":1136192,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1136182\/revisions\/1136192"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1136190"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1136182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1136182"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1136182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}