{"id":1006587,"date":"2024-12-27T10:45:46","date_gmt":"2024-12-27T02:45:46","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1006587.html"},"modified":"2024-12-27T10:45:49","modified_gmt":"2024-12-27T02:45:49","slug":"%e7%94%a8cmd%e5%a6%82%e4%bd%95%e8%bf%90%e8%a1%8cpython","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1006587.html","title":{"rendered":"\u7528cmd\u5982\u4f55\u8fd0\u884cpython"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25082649\/6d735d4c-6d88-498b-9583-8a238c391e7b.webp\" alt=\"\u7528cmd\u5982\u4f55\u8fd0\u884cpython\" \/><\/p>\n<p><p> <strong>\u5728Windows\u547d\u4ee4\u63d0\u793a\u7b26\uff08CMD\uff09\u4e2d\u8fd0\u884cPython\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u51e0\u79cd\u65b9\u6cd5\uff1a\u5b89\u88c5Python\u89e3\u91ca\u5668\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3001\u76f4\u63a5\u5728CMD\u4e2d\u8f93\u5165Python\u547d\u4ee4\u3002<\/strong>\u5176\u4e2d\uff0c\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u662f\u786e\u4fddCMD\u80fd\u591f\u8bc6\u522bPython\u547d\u4ee4\u7684\u5173\u952e\u6b65\u9aa4\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728CMD\u4e2d\u8fd0\u884cPython\u4ee3\u7801\u7684\u5177\u4f53\u6b65\u9aa4\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u5b89\u88c5Python\u89e3\u91ca\u5668<\/p>\n<\/p>\n<p><p>\u5728Windows\u4e0a\u8fd0\u884cPython\u4ee3\u7801\u7684\u7b2c\u4e00\u6b65\u662f\u786e\u4fdd\u60a8\u7684\u8ba1\u7b97\u673a\u4e0a\u5b89\u88c5\u4e86Python\u89e3\u91ca\u5668\u3002Python\u7684\u5b98\u65b9\u7f51\u7ad9\u63d0\u4f9b\u4e86\u9002\u7528\u4e8e\u5404\u79cd\u64cd\u4f5c\u7cfb\u7edf\u7684\u5b89\u88c5\u7a0b\u5e8f\u3002\u4ee5\u4e0b\u662f\u5b89\u88c5Python\u89e3\u91ca\u5668\u7684\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4e0b\u8f7dPython\u5b89\u88c5\u7a0b\u5e8f<\/strong><br \/>\u8bf7\u8bbf\u95eePython\u7684\u5b98\u65b9\u7f51\u7ad9\uff08<a href=\"https:\/\/www.python.org\/%EF%BC%89%E5%B9%B6%E5%AF%BC%E8%88%AA%E5%88%B0%E4%B8%8B%E8%BD%BD%E9%A1%B5%E9%9D%A2%E3%80%82%E9%80%89%E6%8B%A9%E9%80%82%E5%90%88%E6%82%A8%E7%B3%BB%E7%BB%9F%E7%9A%84Python%E7%89%88%E6%9C%AC%EF%BC%88%E9%80%9A%E5%B8%B8%E5%BB%BA%E8%AE%AE%E4%BD%BF%E7%94%A8%E6%9C%80%E6%96%B0%E7%9A%84%E7%A8%B3%E5%AE%9A%E7%89%88%E6%9C%AC%EF%BC%89%E3%80%82\">https:\/\/www.python.org\/\uff09\u5e76\u5bfc\u822a\u5230\u4e0b\u8f7d\u9875\u9762\u3002\u9009\u62e9\u9002\u5408\u60a8\u7cfb\u7edf\u7684Python\u7248\u672c\uff08\u901a\u5e38\u5efa\u8bae\u4f7f\u7528\u6700\u65b0\u7684\u7a33\u5b9a\u7248\u672c\uff09\u3002<\/a><\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f<\/strong><br \/>\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u53cc\u51fb\u5b89\u88c5\u7a0b\u5e8f\u4ee5\u542f\u52a8\u5b89\u88c5\u8fc7\u7a0b\u3002\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u786e\u4fdd\u9009\u4e2d\u201cAdd Python to PATH\u201d\u9009\u9879\uff0c\u8fd9\u5c06\u81ea\u52a8\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b8c\u6210\u5b89\u88c5<\/strong><br \/>\u6309\u7167\u5b89\u88c5\u5411\u5bfc\u7684\u8bf4\u660e\u5b8c\u6210\u5b89\u88c5\u3002\u5b89\u88c5\u7ed3\u675f\u540e\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u63d0\u793a\u7b26\u68c0\u67e5Python\u662f\u5426\u5df2\u6210\u529f\u5b89\u88c5\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/p>\n<\/p>\n<p><p>\u5c3d\u7ba1\u5728\u5b89\u88c5Python\u65f6\u9009\u62e9\u4e86\u201cAdd Python to PATH\u201d\u9009\u9879\uff0c\u4f46\u6709\u65f6\u53ef\u80fd\u9700\u8981\u624b\u52a8\u914d\u7f6e\u73af\u5883\u53d8\u91cf\uff0c\u4ee5\u786e\u4fddCMD\u53ef\u4ee5\u8bc6\u522bPython\u547d\u4ee4\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u6253\u5f00\u7cfb\u7edf\u5c5e\u6027<\/strong><br \/>\u53f3\u952e\u5355\u51fb\u201c\u6b64\u7535\u8111\u201d\u56fe\u6807\uff0c\u7136\u540e\u9009\u62e9\u201c\u5c5e\u6027\u201d\u3002\u5728\u5de6\u4fa7\u680f\u4e2d\uff0c\u70b9\u51fb\u201c\u9ad8\u7ea7\u7cfb\u7edf\u8bbe\u7f6e\u201d\uff0c\u7136\u540e\u5728\u201c\u7cfb\u7edf\u5c5e\u6027\u201d\u7a97\u53e3\u4e2d\u9009\u62e9\u201c\u73af\u5883\u53d8\u91cf\u201d\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7f16\u8f91\u73af\u5883\u53d8\u91cf<\/strong><br \/>\u5728\u201c\u7cfb\u7edf\u53d8\u91cf\u201d\u90e8\u5206\uff0c\u627e\u5230\u540d\u4e3a\u201cPath\u201d\u7684\u53d8\u91cf\u5e76\u9009\u62e9\u201c\u7f16\u8f91\u201d\u3002\u5728\u201c\u7f16\u8f91\u73af\u5883\u53d8\u91cf\u201d\u7a97\u53e3\u4e2d\uff0c\u786e\u4fddPython\u7684\u5b89\u88c5\u8def\u5f84\uff08\u4f8b\u5982C:\\Python39\\\uff09\u548cScripts\u76ee\u5f55\uff08\u4f8b\u5982C:\\Python39\\Scripts\\\uff09\u5df2\u88ab\u6dfb\u52a0\u5230\u5217\u8868\u4e2d\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4fdd\u5b58\u66f4\u6539<\/strong><br \/>\u786e\u8ba4\u6240\u6709\u66f4\u6539\u5e76\u5173\u95ed\u6240\u6709\u7a97\u53e3\u3002\u914d\u7f6e\u5b8c\u6210\u540e\uff0c\u60a8\u53ef\u4ee5\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8f93\u5165\u201cpython\u201d\u547d\u4ee4\u4ee5\u68c0\u67e5\u914d\u7f6e\u662f\u5426\u6b63\u786e\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u5728CMD\u4e2d\u8fd0\u884cPython<\/p>\n<\/p>\n<p><p>\u6210\u529f\u5b89\u88c5\u5e76\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u540e\uff0c\u60a8\u53ef\u4ee5\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8fd0\u884cPython\u4ee3\u7801\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u7528\u7684\u65b9\u6cd5\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u8fd0\u884c\u4ea4\u4e92\u5f0fPython\u89e3\u91ca\u5668<\/strong><br \/>\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff08CMD\uff09\uff0c\u8f93\u5165<code>python<\/code>\u6216<code>python3<\/code>\uff08\u89c6\u60a8\u7684\u5b89\u88c5\u7248\u672c\u800c\u5b9a\uff09\u5e76\u6309Enter\u952e\u3002\u8fd9\u5c06\u542f\u52a8Python\u7684\u4ea4\u4e92\u5f0f\u89e3\u91ca\u5668\uff0c\u60a8\u53ef\u4ee5\u76f4\u63a5\u5728\u5176\u4e2d\u8f93\u5165\u548c\u8fd0\u884cPython\u4ee3\u7801\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884cPython\u811a\u672c\u6587\u4ef6<\/strong><br \/>\u5982\u679c\u60a8\u5df2\u7ecf\u7f16\u5199\u4e86Python\u811a\u672c\u6587\u4ef6\uff08\u4f8b\u5982<code>example.py<\/code>\uff09\uff0c\u53ef\u4ee5\u4f7f\u7528<code>python example.py<\/code>\u547d\u4ee4\u5728CMD\u4e2d\u8fd0\u884c\u8be5\u811a\u672c\u3002\u5728\u6267\u884c\u6b64\u547d\u4ee4\u4e4b\u524d\uff0c\u8bf7\u786e\u4fdd\u5f53\u524d\u76ee\u5f55\u5305\u542b\u8be5\u811a\u672c\u6587\u4ef6\uff0c\u6216\u8005\u4f7f\u7528\u5b8c\u6574\u7684\u6587\u4ef6\u8def\u5f84\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528Python\u547d\u4ee4\u6267\u884c\u5355\u884c\u4ee3\u7801<\/strong><br \/>\u60a8\u4e5f\u53ef\u4ee5\u5728CMD\u4e2d\u4f7f\u7528<code>python -c &quot;print(&#39;Hello, World!&#39;)&quot;<\/code>\u547d\u4ee4\u6765\u6267\u884c\u5355\u884cPython\u4ee3\u7801\u3002\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u5feb\u901f\u6d4b\u8bd5\u7b80\u5355\u7684\u4ee3\u7801\u7247\u6bb5\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u89e3\u51b3\u5e38\u89c1\u95ee\u9898<\/p>\n<\/p>\n<p><p>\u5728\u4f7f\u7528CMD\u8fd0\u884cPython\u65f6\uff0c\u60a8\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u5e38\u89c1\u95ee\u9898\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u89e3\u51b3\u65b9\u6848\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Python\u547d\u4ee4\u672a\u627e\u5230<\/strong><br \/>\u5982\u679cCMD\u63d0\u793a\u201c&#39;python&#39; \u4e0d\u662f\u5185\u90e8\u6216\u5916\u90e8\u547d\u4ee4\uff0c\u4e5f\u4e0d\u662f\u53ef\u8fd0\u884c\u7684\u7a0b\u5e8f\u6216\u6279\u5904\u7406\u6587\u4ef6\u201d\uff0c\u8bf7\u68c0\u67e5\u73af\u5883\u53d8\u91cf\u4e2d\u7684Path\u8bbe\u7f6e\uff0c\u786e\u4fddPython\u5b89\u88c5\u8def\u5f84\u6b63\u786e\u6dfb\u52a0\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7248\u672c\u51b2\u7a81\u95ee\u9898<\/strong><br \/>\u5982\u679c\u5b89\u88c5\u4e86\u591a\u4e2a\u7248\u672c\u7684Python\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4CMD\u9ed8\u8ba4\u8c03\u7528\u7684Python\u7248\u672c\u4e0d\u4e00\u81f4\u3002\u6b64\u65f6\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528<code>py<\/code>\u547d\u4ee4\u6765\u9009\u62e9\u7279\u5b9a\u7684Python\u7248\u672c\u8fd0\u884c\uff0c\u4f8b\u5982<code>py -3.9 script.py<\/code>\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u811a\u672c\u8def\u5f84\u95ee\u9898<\/strong><br \/>\u5f53\u8fd0\u884cPython\u811a\u672c\u65f6\uff0c\u5982\u679c\u51fa\u73b0\u627e\u4e0d\u5230\u6587\u4ef6\u6216\u8def\u5f84\u9519\u8bef\uff0c\u8bf7\u786e\u4fdd\u60a8\u5728CMD\u4e2d\u5bfc\u822a\u5230\u6b63\u786e\u7684\u76ee\u5f55\u6216\u63d0\u4f9b\u811a\u672c\u7684\u5b8c\u6574\u8def\u5f84\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e94\u3001\u8fdb\u9636\u4f7f\u7528\u6280\u5de7<\/p>\n<\/p>\n<p><p>\u9664\u4e86\u57fa\u672c\u7684\u8fd0\u884cPython\u811a\u672c\u5916\uff0c\u60a8\u8fd8\u53ef\u4ee5\u4f7f\u7528CMD\u4e2d\u7684Python\u8fdb\u884c\u66f4\u9ad8\u7ea7\u7684\u64cd\u4f5c\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528\u865a\u62df\u73af\u5883<\/strong><br \/>\u865a\u62df\u73af\u5883\u5141\u8bb8\u60a8\u5728\u9694\u79bb\u7684\u73af\u5883\u4e2d\u5b89\u88c5\u548c\u7ba1\u7406Python\u5305\uff0c\u4ece\u800c\u907f\u514d\u5168\u5c40\u5305\u4e4b\u95f4\u7684\u51b2\u7a81\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528<code>python -m venv myenv<\/code>\u547d\u4ee4\u521b\u5efa\u4e00\u4e2a\u865a\u62df\u73af\u5883\uff0c\u5e76\u4f7f\u7528<code>myenv\\Scripts\\activate<\/code>\u6fc0\u6d3b\u5b83\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5\u548c\u7ba1\u7406\u5305<\/strong><br \/>\u4f7f\u7528pip\u5de5\u5177\u53ef\u4ee5\u65b9\u4fbf\u5730\u5728CMD\u4e2d\u5b89\u88c5\u548c\u7ba1\u7406Python\u5305\u3002\u4f8b\u5982\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528<code>pip install requests<\/code>\u547d\u4ee4\u5b89\u88c5requests\u5e93\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8c03\u8bd5Python\u4ee3\u7801<\/strong><br \/>CMD\u63d0\u4f9b\u4e86\u4e00\u4e9b\u8c03\u8bd5Python\u4ee3\u7801\u7684\u5de5\u5177\uff0c\u4f8b\u5982pdb\u6a21\u5757\uff0c\u60a8\u53ef\u4ee5\u5728\u811a\u672c\u4e2d\u63d2\u5165<code>import pdb; pdb.set_trace()<\/code>\u6765\u542f\u52a8\u8c03\u8bd5\u6a21\u5f0f\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\u548c\u6280\u5de7\uff0c\u60a8\u53ef\u4ee5\u5145\u5206\u5229\u7528Windows\u547d\u4ee4\u63d0\u793a\u7b26\u8fd0\u884c\u548c\u7ba1\u7406Python\u7a0b\u5e8f\u3002\u65e0\u8bba\u662f\u521d\u5b66\u8005\u8fd8\u662f\u7ecf\u9a8c\u4e30\u5bcc\u7684\u5f00\u53d1\u8005\uff0c\u638c\u63e1\u8fd9\u4e9b\u6280\u80fd\u90fd\u5c06\u5e2e\u52a9\u60a8\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\u548c\u4ee3\u7801\u8d28\u91cf\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u68c0\u67e5Python\u662f\u5426\u5df2\u5b89\u88c5\uff1f<\/strong><br \/>\u53ef\u4ee5\u901a\u8fc7\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff0c\u8f93\u5165 <code>python --version<\/code> \u6216 <code>python -V<\/code> \u6765\u68c0\u67e5Python\u662f\u5426\u5df2\u5b89\u88c5\u3002\u5982\u679cPython\u5df2\u6b63\u786e\u5b89\u88c5\uff0c\u7cfb\u7edf\u5c06\u663e\u793a\u51fa\u5f53\u524d\u5b89\u88c5\u7684Python\u7248\u672c\u53f7\u3002\u5982\u679c\u51fa\u73b0\u201c\u672a\u627e\u5230\u547d\u4ee4\u201d\u6216\u7c7b\u4f3c\u63d0\u793a\uff0c\u53ef\u80fd\u9700\u8981\u5148\u5b89\u88c5Python\u3002<\/p>\n<p><strong>\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8fd0\u884cPython\u811a\u672c\u7684\u6b65\u9aa4\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\u8981\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8fd0\u884cPython\u811a\u672c\uff0c\u9996\u5148\u9700\u8981\u5bfc\u822a\u5230\u811a\u672c\u6240\u5728\u7684\u76ee\u5f55\u3002\u53ef\u4ee5\u4f7f\u7528 <code>cd<\/code> \u547d\u4ee4\u5207\u6362\u76ee\u5f55\u3002\u4f8b\u5982\uff0c\u8f93\u5165 <code>cd \u8def\u5f84\u540d<\/code>\u3002\u63a5\u7740\uff0c\u4f7f\u7528 <code>python \u811a\u672c\u540d.py<\/code> \u6765\u6267\u884c\u811a\u672c\uff0c\u4f8b\u5982 <code>python my_script.py<\/code>\u3002\u786e\u4fdd\u811a\u672c\u8def\u5f84\u53ca\u6587\u4ef6\u540d\u6b63\u786e\u65e0\u8bef\u3002<\/p>\n<p><strong>\u5982\u4f55\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf\u4ee5\u4fbf\u5728\u4efb\u610f\u8def\u5f84\u4e0b\u4f7f\u7528Python\u547d\u4ee4\uff1f<\/strong><br \/>\u4e3a\u4e86\u5728\u4efb\u4f55\u8def\u5f84\u4e0b\u90fd\u80fd\u4f7f\u7528Python\u547d\u4ee4\uff0c\u9700\u8981\u5c06Python\u7684\u5b89\u88c5\u8def\u5f84\u6dfb\u52a0\u5230\u7cfb\u7edf\u7684\u73af\u5883\u53d8\u91cf\u4e2d\u3002\u53ef\u4ee5\u53f3\u952e\u70b9\u51fb\u201c\u6b64\u7535\u8111\u201d\u6216\u201c\u6211\u7684\u7535\u8111\u201d\uff0c\u9009\u62e9\u201c\u5c5e\u6027\u201d\uff0c\u7136\u540e\u70b9\u51fb\u201c\u9ad8\u7ea7\u7cfb\u7edf\u8bbe\u7f6e\u201d\u3002\u5728\u201c\u7cfb\u7edf\u5c5e\u6027\u201d\u4e2d\uff0c\u70b9\u51fb\u201c\u73af\u5883\u53d8\u91cf\u201d\uff0c\u627e\u5230\u201cPath\u201d\u53d8\u91cf\u5e76\u8fdb\u884c\u7f16\u8f91\uff0c\u5c06Python\u7684\u5b89\u88c5\u8def\u5f84\uff08\u4f8b\u5982 <code>C:\\Python39<\/code>\uff09\u6dfb\u52a0\u8fdb\u53bb\uff0c\u786e\u4fdd\u4fdd\u5b58\u8bbe\u7f6e\u540e\u91cd\u65b0\u542f\u52a8\u547d\u4ee4\u63d0\u793a\u7b26\u3002\u8fd9\u6837\uff0c\u60a8\u5c31\u53ef\u4ee5\u5728\u4efb\u4f55\u76ee\u5f55\u4e0b\u76f4\u63a5\u4f7f\u7528Python\u547d\u4ee4\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Windows\u547d\u4ee4\u63d0\u793a\u7b26\uff08CMD\uff09\u4e2d\u8fd0\u884cPython\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u51e0\u79cd\u65b9\u6cd5\uff1a\u5b89\u88c5Python\u89e3\u91ca\u5668\u3001\u914d\u7f6e\u73af\u5883 [&hellip;]","protected":false},"author":3,"featured_media":1006602,"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\/1006587"}],"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=1006587"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1006587\/revisions"}],"predecessor-version":[{"id":1006605,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1006587\/revisions\/1006605"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1006602"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1006587"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1006587"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1006587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}