{"id":986965,"date":"2024-12-27T07:49:30","date_gmt":"2024-12-26T23:49:30","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/986965.html"},"modified":"2024-12-27T07:49:32","modified_gmt":"2024-12-26T23:49:32","slug":"python%e5%a6%82%e4%bd%95%e5%9c%a8cmd%e5%86%99","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/986965.html","title":{"rendered":"python\u5982\u4f55\u5728cmd\u5199"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25063313\/f48de372-4e83-428a-8eea-9b731546d09b.webp\" alt=\"python\u5982\u4f55\u5728cmd\u5199\" \/><\/p>\n<p><p> <strong>\u5728cmd\u4e2d\u7f16\u5199Python\u4ee3\u7801\u7684\u6b65\u9aa4\u5305\u62ec\uff1a\u5b89\u88c5Python\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3001\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u3001\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\u7f16\u5199Python\u811a\u672c\u3001\u8fd0\u884cPython\u811a\u672c\u3002<\/strong>\u5176\u4e2d\uff0c\u5b89\u88c5Python\u662f\u6700\u57fa\u7840\u7684\u4e00\u6b65\uff0c\u56e0\u4e3aPython\u89e3\u91ca\u5668\u9700\u8981\u5148\u5b89\u88c5\u624d\u80fd\u4f7f\u7528\uff0c\u63a5\u4e0b\u6765\u662f\u914d\u7f6e\u73af\u5883\u53d8\u91cf\uff0c\u4ee5\u786e\u4fdd\u547d\u4ee4\u63d0\u793a\u7b26\u53ef\u4ee5\u6b63\u786e\u8bc6\u522bPython\u547d\u4ee4\u3002\u5728Windows\u4e0a\uff0c\u547d\u4ee4\u63d0\u793a\u7b26\uff08cmd\uff09\u63d0\u4f9b\u4e86\u4e00\u79cd\u7b80\u5355\u7684\u65b9\u5f0f\u6765\u8fd0\u884cPython\u4ee3\u7801\u548c\u811a\u672c\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u7684\u6b65\u9aa4\u548c\u4e00\u4e9b\u4e13\u4e1a\u5efa\u8bae\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5b89\u88c5Python<\/h3>\n<\/p>\n<p><p>\u5728\u5f00\u59cb\u4f7f\u7528Python\u4e4b\u524d\uff0c\u9700\u8981\u786e\u4fdd\u5df2\u7ecf\u5728\u8ba1\u7b97\u673a\u4e0a\u5b89\u88c5\u4e86Python\u89e3\u91ca\u5668\u3002\u53ef\u4ee5\u4ecePython\u7684\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u5e76\u5b89\u88c5\u9002\u5408\u7684\u7248\u672c\u3002\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u5efa\u8bae\u52fe\u9009\u201cAdd Python to PATH\u201d\u9009\u9879\uff0c\u8fd9\u6837\u53ef\u4ee5\u81ea\u52a8\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3002<\/p>\n<\/p>\n<p><h4>1. \u5b89\u88c5\u6b65\u9aa4<\/h4>\n<\/p>\n<ul>\n<li>\u8bbf\u95eePython\u5b98\u65b9\u7f51\u7ad9\uff1a<a href=\"https:\/\/www.python.org\/\">https:\/\/www.python.org\/<\/a><\/li>\n<li>\u4e0b\u8f7d\u6700\u65b0\u7248\u672c\u7684Python\u5b89\u88c5\u7a0b\u5e8f\u3002<\/li>\n<li>\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f\uff0c\u5e76\u786e\u4fdd\u9009\u4e2d\u201cAdd Python to PATH\u201d\u9009\u9879\u3002<\/li>\n<li>\u5b8c\u6210\u5b89\u88c5\u8fc7\u7a0b\u3002<\/li>\n<\/ul>\n<p><h4>2. \u9a8c\u8bc1\u5b89\u88c5<\/h4>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u63d0\u793a\u7b26\u9a8c\u8bc1\u5b89\u88c5\u662f\u5426\u6210\u529f\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff08\u6309\u4e0bWindows\u952e\u5e76\u8f93\u5165\u201ccmd\u201d\uff09\u3002<\/li>\n<li>\u8f93\u5165 <code>python --version<\/code> \u6216 <code>python -V<\/code>\uff0c\u67e5\u770bPython\u7248\u672c\u4fe1\u606f\u3002<\/li>\n<\/ul>\n<p><p>\u5982\u679c\u663e\u793aPython\u7248\u672c\u53f7\uff0c\u8bf4\u660e\u5b89\u88c5\u6210\u529f\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/h3>\n<\/p>\n<p><p>\u5982\u679c\u5728\u5b89\u88c5Python\u65f6\u672a\u52fe\u9009\u201cAdd Python to PATH\u201d\uff0c\u5219\u9700\u8981\u624b\u52a8\u914d\u7f6e\u73af\u5883\u53d8\u91cf\uff0c\u4f7fcmd\u80fd\u591f\u8bc6\u522bPython\u547d\u4ee4\u3002<\/p>\n<\/p>\n<p><h4>1. \u914d\u7f6e\u6b65\u9aa4<\/h4>\n<\/p>\n<ul>\n<li>\u5728\u684c\u9762\u4e0a\u53f3\u952e\u70b9\u51fb\u201c\u8ba1\u7b97\u673a\u201d\u6216\u201c\u6b64\u7535\u8111\u201d\uff0c\u9009\u62e9\u201c\u5c5e\u6027\u201d\u3002<\/li>\n<li>\u70b9\u51fb\u201c\u9ad8\u7ea7\u7cfb\u7edf\u8bbe\u7f6e\u201d\uff0c\u7136\u540e\u70b9\u51fb\u201c\u73af\u5883\u53d8\u91cf\u201d\u3002<\/li>\n<li>\u5728\u201c\u7cfb\u7edf\u53d8\u91cf\u201d\u4e2d\u627e\u5230\u201cPath\u201d\u53d8\u91cf\uff0c\u70b9\u51fb\u201c\u7f16\u8f91\u201d\u3002<\/li>\n<li>\u5728\u201c\u7f16\u8f91\u73af\u5883\u53d8\u91cf\u201d\u7a97\u53e3\u4e2d\uff0c\u70b9\u51fb\u201c\u65b0\u5efa\u201d\uff0c\u5e76\u8f93\u5165Python\u7684\u5b89\u88c5\u8def\u5f84\uff08\u4f8b\u5982\uff1aC:\\Python39\\\uff09\u3002<\/li>\n<li>\u70b9\u51fb\u201c\u786e\u5b9a\u201d\u4fdd\u5b58\u66f4\u6539\u3002<\/li>\n<\/ul>\n<p><h4>2. \u9a8c\u8bc1\u914d\u7f6e<\/h4>\n<\/p>\n<p><p>\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8f93\u5165 <code>python<\/code>\uff0c\u5982\u679c\u8fdb\u5165Python\u4ea4\u4e92\u6a21\u5f0f\uff0c\u8bf4\u660e\u73af\u5883\u53d8\u91cf\u914d\u7f6e\u6210\u529f\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26<\/h3>\n<\/p>\n<p><p>\u8981\u5728cmd\u4e2d\u4f7f\u7528Python\uff0c\u9996\u5148\u9700\u8981\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u51e0\u79cd\u65b9\u5f0f\u6253\u5f00\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u4f7f\u7528\u5feb\u6377\u952e\u201cWindows + R\u201d\uff0c\u8f93\u5165\u201ccmd\u201d\uff0c\u7136\u540e\u6309Enter\u952e\u3002<\/li>\n<li>\u5728\u5f00\u59cb\u83dc\u5355\u4e2d\u641c\u7d22\u201ccmd\u201d\u6216\u201c\u547d\u4ee4\u63d0\u793a\u7b26\u201d\u3002<\/li>\n<li>\u5728\u6587\u4ef6<a href=\"https:\/\/docs.pingcode.com\/blog\/project-management\/58557.html\" target=\"_blank\">\u8d44\u6e90\u7ba1\u7406<\/a>\u5668\u4e2d\uff0c\u6309\u4f4fShift\u952e\u5e76\u53f3\u952e\u70b9\u51fb\u4efb\u610f\u6587\u4ef6\u5939\uff0c\u9009\u62e9\u201c\u5728\u6b64\u5904\u6253\u5f00\u547d\u4ee4\u7a97\u53e3\u201d\u3002<\/li>\n<\/ul>\n<p><h3>\u56db\u3001\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\u7f16\u5199Python\u811a\u672c<\/h3>\n<\/p>\n<p><p>\u5728cmd\u4e2d\u76f4\u63a5\u7f16\u5199Python\u4ee3\u7801\u4e0d\u592a\u65b9\u4fbf\uff0c\u901a\u5e38\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\u7f16\u5199Python\u811a\u672c\uff0c\u7136\u540e\u5728cmd\u4e2d\u8fd0\u884c\u3002<\/p>\n<\/p>\n<p><h4>1. \u9009\u62e9\u6587\u672c\u7f16\u8f91\u5668<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u9009\u62e9\u4efb\u610f\u9002\u5408\u7684\u6587\u672c\u7f16\u8f91\u5668\u7f16\u5199Python\u4ee3\u7801\uff0c\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u8bb0\u4e8b\u672c\uff1a\u7b80\u5355\u6613\u7528\uff0c\u9002\u5408\u5feb\u901f\u7f16\u8f91\u3002<\/li>\n<li>VS Code\uff1a\u529f\u80fd\u5f3a\u5927\uff0c\u652f\u6301Python\u63d2\u4ef6\u3002<\/li>\n<li>Sublime Text\uff1a\u8f7b\u91cf\u7ea7\uff0c\u9002\u5408\u4ee3\u7801\u7f16\u8f91\u3002<\/li>\n<\/ul>\n<p><h4>2. \u7f16\u5199Python\u811a\u672c<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\u65b0\u5efa\u4e00\u4e2a\u6587\u4ef6\uff0c\u7f16\u5199Python\u4ee3\u7801\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># hello.py<\/p>\n<p>print(&quot;Hello, World!&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5c06\u6587\u4ef6\u4fdd\u5b58\u4e3a<code>.py<\/code>\u6269\u5c55\u540d\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u8fd0\u884cPython\u811a\u672c<\/h3>\n<\/p>\n<p><p>\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u5bfc\u822a\u5230Python\u811a\u672c\u6240\u5728\u7684\u76ee\u5f55\uff0c\u7136\u540e\u8fd0\u884c\u811a\u672c\u3002<\/p>\n<\/p>\n<p><h4>1. \u5bfc\u822a\u5230\u811a\u672c\u76ee\u5f55<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528 <code>cd<\/code> \u547d\u4ee4\u5bfc\u822a\u5230Python\u811a\u672c\u7684\u76ee\u5f55\u3002\u4f8b\u5982\uff0c\u5982\u679c\u811a\u672c\u4f4d\u4e8e<code>C:\\Scripts<\/code>\u76ee\u5f55\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-shell\">cd C:\\Scripts<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u8fd0\u884cPython\u811a\u672c<\/h4>\n<\/p>\n<p><p>\u8f93\u5165 <code>python \u811a\u672c\u540d.py<\/code> \u8fd0\u884cPython\u811a\u672c\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-shell\">python hello.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5982\u679c\u4e00\u5207\u6b63\u5e38\uff0ccmd\u5c06\u8f93\u51fa <code>Hello, World!<\/code>\u3002<\/p>\n<\/p>\n<p><h3>\u516d\u3001\u8c03\u8bd5\u548c\u9519\u8bef\u5904\u7406<\/h3>\n<\/p>\n<p><p>\u5728cmd\u4e2d\u8fd0\u884cPython\u811a\u672c\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u5e38\u89c1\u7684\u9519\u8bef\uff0c\u9700\u8981\u5b66\u4f1a\u8c03\u8bd5\u548c\u5904\u7406\u3002<\/p>\n<\/p>\n<p><h4>1. \u5e38\u89c1\u9519\u8bef<\/h4>\n<\/p>\n<ul>\n<li><strong>SyntaxError<\/strong>\uff1a\u8bed\u6cd5\u9519\u8bef\uff0c\u68c0\u67e5\u4ee3\u7801\u8bed\u6cd5\u662f\u5426\u6b63\u786e\u3002<\/li>\n<li><strong>ModuleNotFoundError<\/strong>\uff1a\u6a21\u5757\u672a\u627e\u5230\uff0c\u786e\u8ba4\u662f\u5426\u5b89\u88c5\u4e86\u6240\u9700\u7684Python\u6a21\u5757\u3002<\/li>\n<li><strong>FileNotFoundError<\/strong>\uff1a\u6587\u4ef6\u672a\u627e\u5230\uff0c\u68c0\u67e5\u6587\u4ef6\u8def\u5f84\u662f\u5426\u6b63\u786e\u3002<\/li>\n<\/ul>\n<p><h4>2. \u8c03\u8bd5\u6280\u5de7<\/h4>\n<\/p>\n<ul>\n<li>\u4f7f\u7528 <code>print()<\/code> \u51fd\u6570\u8f93\u51fa\u53d8\u91cf\u503c\uff0c\u68c0\u67e5\u7a0b\u5e8f\u6267\u884c\u8fc7\u7a0b\u3002<\/li>\n<li>\u4f7f\u7528\u65ad\u70b9\u8c03\u8bd5\u5de5\u5177\uff0c\u5982VS Code\u4e2d\u7684\u8c03\u8bd5\u529f\u80fd\u3002<\/li>\n<li>\u9605\u8bfb\u9519\u8bef\u4fe1\u606f\uff0c\u5b9a\u4f4d\u95ee\u9898\u6240\u5728\u884c\u3002<\/li>\n<\/ul>\n<p><h3>\u4e03\u3001\u4f7f\u7528Python\u4ea4\u4e92\u6a21\u5f0f<\/h3>\n<\/p>\n<p><p>\u9664\u4e86\u8fd0\u884cPython\u811a\u672c\u5916\uff0c\u8fd8\u53ef\u4ee5\u5728cmd\u4e2d\u76f4\u63a5\u8fdb\u5165Python\u4ea4\u4e92\u6a21\u5f0f\uff0c\u8f93\u5165Python\u547d\u4ee4\u5e76\u67e5\u770b\u7ed3\u679c\u3002<\/p>\n<\/p>\n<p><h4>1. \u8fdb\u5165\u4ea4\u4e92\u6a21\u5f0f<\/h4>\n<\/p>\n<p><p>\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8f93\u5165 <code>python<\/code>\uff0c\u6309Enter\u952e\u8fdb\u5165Python\u4ea4\u4e92\u6a21\u5f0f\u3002\u53ef\u4ee5\u76f4\u63a5\u8f93\u5165Python\u547d\u4ee4\u5e76\u67e5\u770b\u8f93\u51fa\u3002<\/p>\n<\/p>\n<p><h4>2. \u9000\u51fa\u4ea4\u4e92\u6a21\u5f0f<\/h4>\n<\/p>\n<p><p>\u5728\u4ea4\u4e92\u6a21\u5f0f\u4e0b\uff0c\u8f93\u5165 <code>exit()<\/code> \u6216\u6309 <code>Ctrl + Z<\/code>\uff0c\u7136\u540e\u6309Enter\u952e\u9000\u51fa\u3002<\/p>\n<\/p>\n<p><h3>\u516b\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728cmd\u4e2d\u7f16\u5199\u548c\u8fd0\u884cPython\u4ee3\u7801\u662f\u5b66\u4e60Python\u7f16\u7a0b\u7684\u91cd\u8981\u6280\u80fd\u3002\u901a\u8fc7\u5b89\u88c5Python\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3001\u7f16\u5199\u548c\u8fd0\u884cPython\u811a\u672c\uff0c\u4ee5\u53ca\u4f7f\u7528Python\u4ea4\u4e92\u6a21\u5f0f\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u8fdb\u884cPython\u5f00\u53d1\u548c\u8c03\u8bd5\u3002\u638c\u63e1\u8fd9\u4e9b\u57fa\u672c\u6280\u80fd\u5c06\u4e3a\u8fdb\u4e00\u6b65\u5b66\u4e60Python\u7f16\u7a0b\u6253\u4e0b\u575a\u5b9e\u7684\u57fa\u7840\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728CMD\u4e2d\u5b89\u88c5Python\uff1f<\/strong><br \/>\u8981\u5728CMD\u4e2d\u4f7f\u7528Python\uff0c\u9996\u5148\u9700\u8981\u786e\u4fdd\u5df2\u7ecf\u5b89\u88c5\u4e86Python\u3002\u53ef\u4ee5\u4ecePython\u5b98\u7f51\u4e0b\u8f7d\u5b89\u88c5\u5305\uff0c\u5b8c\u6210\u5b89\u88c5\u540e\uff0c\u786e\u4fdd\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u9009\u62e9\u201c\u5c06Python\u6dfb\u52a0\u5230\u73af\u5883\u53d8\u91cf\u201d\u9009\u9879\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6253\u5f00CMD\uff0c\u8f93\u5165<code>python --version<\/code>\uff0c\u5982\u679c\u6b63\u786e\u663e\u793a\u7248\u672c\u53f7\uff0c\u5219\u5b89\u88c5\u6210\u529f\u3002<\/p>\n<p><strong>\u5728CMD\u4e2d\u5982\u4f55\u8fd0\u884cPython\u811a\u672c\uff1f<\/strong><br \/>\u5728CMD\u4e2d\u8fd0\u884cPython\u811a\u672c\u76f8\u5bf9\u7b80\u5355\u3002\u9996\u5148\uff0c\u4f7f\u7528<code>cd<\/code>\u547d\u4ee4\u5207\u6362\u5230\u5305\u542bPython\u811a\u672c\u7684\u76ee\u5f55\u3002\u63a5\u7740\u8f93\u5165<code>python script_name.py<\/code>\uff08\u5c06<code>script_name.py<\/code>\u66ff\u6362\u4e3a\u4f60\u7684\u811a\u672c\u6587\u4ef6\u540d\uff09\uff0c\u6309\u4e0b\u56de\u8f66\u952e\u5373\u53ef\u6267\u884c\u8be5\u811a\u672c\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728CMD\u4e2d\u4f7f\u7528Python\u7684\u865a\u62df\u73af\u5883\uff1f<\/strong><br \/>\u4f7f\u7528\u865a\u62df\u73af\u5883\u53ef\u4ee5\u7ba1\u7406Python\u9879\u76ee\u7684\u4f9d\u8d56\u3002\u5728CMD\u4e2d\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u521b\u5efa\u865a\u62df\u73af\u5883\uff1a\u9996\u5148\uff0c\u786e\u4fdd\u5df2\u5b89\u88c5<code>virtualenv<\/code>\u6a21\u5757\uff0c\u8f93\u5165\u547d\u4ee4<code>pip install virtualenv<\/code>\u3002\u7136\u540e\uff0c\u4f7f\u7528\u547d\u4ee4<code>virtualenv venv<\/code>\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>venv<\/code>\u7684\u865a\u62df\u73af\u5883\u3002\u8981\u6fc0\u6d3b\u8be5\u73af\u5883\uff0c\u8f93\u5165<code>venv\\Scripts\\activate<\/code>\uff0c\u6fc0\u6d3b\u540e\uff0c\u6240\u6709\u5728CMD\u4e2d\u8fd0\u884c\u7684Python\u547d\u4ee4\u90fd\u5c06\u4f7f\u7528\u8be5\u865a\u62df\u73af\u5883\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728cmd\u4e2d\u7f16\u5199Python\u4ee3\u7801\u7684\u6b65\u9aa4\u5305\u62ec\uff1a\u5b89\u88c5Python\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3001\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u3001\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\u7f16\u5199P [&hellip;]","protected":false},"author":3,"featured_media":986975,"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\/986965"}],"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=986965"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/986965\/revisions"}],"predecessor-version":[{"id":986979,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/986965\/revisions\/986979"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/986975"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=986965"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=986965"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=986965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}