{"id":1002402,"date":"2024-12-27T10:08:22","date_gmt":"2024-12-27T02:08:22","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1002402.html"},"modified":"2024-12-27T10:08:24","modified_gmt":"2024-12-27T02:08:24","slug":"python%e7%bc%96%e7%a8%8b%e7%94%b5%e8%84%91%e5%a6%82%e4%bd%95%e4%b8%8b%e8%bd%bd","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1002402.html","title":{"rendered":"python\u7f16\u7a0b\u7535\u8111\u5982\u4f55\u4e0b\u8f7d"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25080153\/b0e7d805-ee2e-42ac-9b45-e7c9c3567235.webp\" alt=\"python\u7f16\u7a0b\u7535\u8111\u5982\u4f55\u4e0b\u8f7d\" \/><\/p>\n<p><p> <strong>\u8981\u5728\u7535\u8111\u4e0a\u4e0b\u8f7dPython\u7f16\u7a0b\u73af\u5883\uff0c\u60a8\u9700\u8981\u9009\u62e9\u5408\u9002\u7684Python\u7248\u672c\u3001\u4e0b\u8f7d\u5e76\u5b89\u88c5Python\u89e3\u91ca\u5668\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3001\u9009\u62e9\u5e76\u5b89\u88c5\u4e00\u4e2a\u4ee3\u7801\u7f16\u8f91\u5668\u6216IDE\u3002<\/strong>\u5176\u4e2d\uff0c\u9009\u62e9\u5408\u9002\u7684Python\u7248\u672c\u662f\u5173\u952e\uff0c\u56e0\u4e3a\u4e0d\u540c\u7248\u672c\u7684Python\u5728\u8bed\u6cd5\u548c\u529f\u80fd\u4e0a\u53ef\u80fd\u5b58\u5728\u5dee\u5f02\u3002\u76ee\u524d\uff0cPython 3.x\u662f\u63a8\u8350\u7684\u7248\u672c\uff0c\u56e0\u4e3a\u5b83\u662f\u6700\u65b0\u7684\u7a33\u5b9a\u7248\u672c\uff0c\u5177\u6709\u66f4\u597d\u7684\u6027\u80fd\u548c\u529f\u80fd\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5b8c\u6210\u8fd9\u4e9b\u6b65\u9aa4\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u9009\u62e9\u5408\u9002\u7684Python\u7248\u672c<\/p>\n<\/p>\n<p><p>\u5728\u9009\u62e9Python\u7248\u672c\u65f6\uff0c\u9996\u5148\u8981\u8003\u8651\u5230\u60a8\u5c06\u8981\u4f7f\u7528\u7684\u5e93\u548c\u6846\u67b6\u662f\u5426\u4e0e\u8be5\u7248\u672c\u517c\u5bb9\u3002Python 2.x\u548c3.x\u4e4b\u95f4\u5b58\u5728\u4e00\u4e9b\u4e0d\u517c\u5bb9\u7684\u53d8\u5316\uff0c\u56e0\u6b64\u5927\u591a\u6570\u65b0\u7684\u5e93\u548c\u6846\u67b6\u5df2\u7ecf\u505c\u6b62\u652f\u6301Python 2.x\u3002<strong>Python 3.x\u662f\u5f53\u524d\u7684\u4e3b\u6d41\u7248\u672c\uff0c\u62e5\u6709\u66f4\u4e30\u5bcc\u7684\u529f\u80fd\u548c\u66f4\u597d\u7684\u6027\u80fd<\/strong>\uff0c\u56e0\u6b64\u63a8\u8350\u9009\u62e9Python 3.x\u7248\u672c\u3002<\/p>\n<\/p>\n<p><p>\u9009\u62e9\u5177\u4f53\u7684Python 3.x\u7248\u672c\u65f6\uff0c\u53ef\u4ee5\u67e5\u770bPython\u5b98\u65b9\u7f51\u7ad9\uff08python.org\uff09\u4e0a\u7684\u201cDownloads\u201d\u9875\u9762\uff0c\u4e86\u89e3\u6700\u65b0\u7684\u7a33\u5b9a\u7248\u672c\u3002\u901a\u5e38\uff0c\u9009\u62e9\u6700\u65b0\u7684\u7a33\u5b9a\u7248\u672c\u662f\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\uff0c\u56e0\u4e3a\u5b83\u5305\u542b\u4e86\u6700\u65b0\u7684\u7279\u6027\u548c\u5b89\u5168\u4fee\u590d\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u4e0b\u8f7d\u5e76\u5b89\u88c5Python\u89e3\u91ca\u5668<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u8bbf\u95eePython\u5b98\u65b9\u7f51\u7ad9<\/strong>\uff1a\u6253\u5f00\u6d4f\u89c8\u5668\uff0c\u8bbf\u95eePython\u5b98\u65b9\u7f51\u7ad9\uff08<a href=\"https:\/\/www.python.org\/%EF%BC%89%E3%80%82\">https:\/\/www.python.org\/\uff09\u3002<\/a><\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4e0b\u8f7dPython\u5b89\u88c5\u5305<\/strong>\uff1a\u5728\u9996\u9875\u70b9\u51fb\u201cDownloads\u201d\u9009\u9879\u5361\uff0c\u7cfb\u7edf\u4f1a\u81ea\u52a8\u68c0\u6d4b\u60a8\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5e76\u63a8\u8350\u9002\u5408\u7684Python\u7248\u672c\u3002\u70b9\u51fb\u4e0b\u8f7d\u6309\u94ae\uff0c\u4e0b\u8f7d\u76f8\u5e94\u7684\u5b89\u88c5\u5305\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f<\/strong>\uff1a\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f\u3002\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u6709\u51e0\u4e2a\u91cd\u8981\u7684\u9009\u9879\u9700\u8981\u6ce8\u610f\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u52fe\u9009\u201cAdd Python to PATH\u201d\u9009\u9879\uff1a\u8fd9\u5c06\u81ea\u52a8\u5c06Python\u6dfb\u52a0\u5230\u7cfb\u7edf\u7684\u73af\u5883\u53d8\u91cf\u4e2d\uff0c\u65b9\u4fbf\u5728\u547d\u4ee4\u884c\u4e2d\u4f7f\u7528Python\u3002<\/li>\n<li>\u9009\u62e9\u201cCustomize installation\u201d\u4ee5\u67e5\u770b\u66f4\u591a\u9009\u9879\u3002\u5982\u679c\u9700\u8981\uff0c\u60a8\u53ef\u4ee5\u9009\u62e9\u5b89\u88c5pip\uff08Python\u5305\u7ba1\u7406\u5de5\u5177\uff09\u548c\u5176\u4ed6\u5f00\u53d1\u5de5\u5177\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u5b8c\u6210\u5b89\u88c5<\/strong>\uff1a\u70b9\u51fb\u201cInstall Now\u201d\u6216\u201cInstall\u201d\u6309\u94ae\uff0c\u7b49\u5f85\u5b89\u88c5\u5b8c\u6210\u3002\u5b89\u88c5\u6210\u529f\u540e\uff0c\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165<code>python --version<\/code>\u6765\u9a8c\u8bc1Python\u662f\u5426\u5df2\u6b63\u786e\u5b89\u88c5\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/p>\n<\/p>\n<p><p>\u5982\u679c\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u6ca1\u6709\u9009\u62e9\u81ea\u52a8\u6dfb\u52a0Python\u5230\u73af\u5883\u53d8\u91cf\u4e2d\uff0c\u60a8\u9700\u8981\u624b\u52a8\u914d\u7f6e\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u6253\u5f00\u7cfb\u7edf\u5c5e\u6027<\/strong>\uff1a\u53f3\u952e\u70b9\u51fb\u201c\u6b64\u7535\u8111\u201d\u6216\u201c\u8ba1\u7b97\u673a\u201d\uff0c\u9009\u62e9\u201c\u5c5e\u6027\u201d\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8bbf\u95ee\u9ad8\u7ea7\u7cfb\u7edf\u8bbe\u7f6e<\/strong>\uff1a\u70b9\u51fb\u201c\u9ad8\u7ea7\u7cfb\u7edf\u8bbe\u7f6e\u201d\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7f16\u8f91\u73af\u5883\u53d8\u91cf<\/strong>\uff1a\u5728\u201c\u7cfb\u7edf\u5c5e\u6027\u201d\u7a97\u53e3\u4e2d\uff0c\u70b9\u51fb\u201c\u73af\u5883\u53d8\u91cf\u201d\u6309\u94ae\u3002\u5728\u201c\u7cfb\u7edf\u53d8\u91cf\u201d\u90e8\u5206\uff0c\u627e\u5230\u5e76\u9009\u62e9\u201cPath\u201d\u53d8\u91cf\uff0c\u70b9\u51fb\u201c\u7f16\u8f91\u201d\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6dfb\u52a0Python\u8def\u5f84<\/strong>\uff1a\u5728\u7f16\u8f91\u7a97\u53e3\u4e2d\uff0c\u70b9\u51fb\u201c\u65b0\u5efa\u201d\uff0c\u7136\u540e\u8f93\u5165Python\u5b89\u88c5\u76ee\u5f55\u7684\u8def\u5f84\uff08\u4f8b\u5982<code>C:\\Python39<\/code>\uff0c\u5177\u4f53\u8def\u5f84\u6839\u636e\u60a8\u7684\u5b89\u88c5\u4f4d\u7f6e\u800c\u5b9a\uff09\u3002\u540c\u65f6\uff0c\u786e\u4fdd\u6dfb\u52a0<code>Scripts<\/code>\u76ee\u5f55\u7684\u8def\u5f84\uff08\u4f8b\u5982<code>C:\\Python39\\Scripts<\/code>\uff09\uff0c\u4ee5\u4fbf\u4f7f\u7528pip\u5de5\u5177\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4fdd\u5b58\u66f4\u6539<\/strong>\uff1a\u5b8c\u6210\u540e\uff0c\u70b9\u51fb\u201c\u786e\u5b9a\u201d\u4fdd\u5b58\u66f4\u6539\uff0c\u5e76\u5173\u95ed\u6240\u6709\u7a97\u53e3\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u9009\u62e9\u5e76\u5b89\u88c5\u4ee3\u7801\u7f16\u8f91\u5668\u6216IDE<\/p>\n<\/p>\n<p><p>\u7f16\u5199Python\u4ee3\u7801\u9700\u8981\u4e00\u4e2a\u5408\u9002\u7684\u4ee3\u7801\u7f16\u8f91\u5668\u6216\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u7528\u7684Python\u4ee3\u7801\u7f16\u8f91\u5668\u548cIDE\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Visual Studio Code (VS Code)<\/strong>\uff1a\u4e00\u6b3e\u8f7b\u91cf\u7ea7\u4f46\u529f\u80fd\u5f3a\u5927\u7684\u4ee3\u7801\u7f16\u8f91\u5668\uff0c\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\uff0c\u5305\u62ecPython\u3002\u53ef\u4ee5\u901a\u8fc7\u6269\u5c55\u5e02\u573a\u5b89\u88c5Python\u6269\u5c55\u4ee5\u83b7\u5f97\u66f4\u597d\u7684\u652f\u6301\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>PyCharm<\/strong>\uff1a\u4e00\u6b3e\u4e13\u4e1a\u7684Python IDE\uff0c\u63d0\u4f9b\u4e30\u5bcc\u7684\u529f\u80fd\u548c\u5de5\u5177\uff0c\u9002\u5408\u5927\u578bPython\u9879\u76ee\u7684\u5f00\u53d1\u3002PyCharm\u6709\u793e\u533a\u7248\uff08\u514d\u8d39\uff09\u548c\u4e13\u4e1a\u7248\uff08\u4ed8\u8d39\uff09\u53ef\u4f9b\u9009\u62e9\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Jupyter Notebook<\/strong>\uff1a\u4e00\u79cd\u57fa\u4e8e\u7f51\u9875\u7684\u4ea4\u4e92\u5f0f\u5f00\u53d1\u73af\u5883\uff0c\u7279\u522b\u9002\u5408\u6570\u636e\u5206\u6790\u548c<a href=\"https:\/\/docs.pingcode.com\/ask\/59192.html\" target=\"_blank\">\u673a\u5668\u5b66\u4e60<\/a>\u9879\u76ee\u3002Anaconda\u53d1\u884c\u7248\u4e2d\u5305\u542b\u4e86Jupyter Notebook\uff0c\u9002\u5408\u79d1\u5b66\u8ba1\u7b97\u7684\u5f00\u53d1\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Sublime Text<\/strong>\uff1a\u4e00\u6b3e\u7b80\u6d01\u9ad8\u6548\u7684\u4ee3\u7801\u7f16\u8f91\u5668\uff0c\u652f\u6301Python\u8bed\u6cd5\u9ad8\u4eae\u548c\u63d2\u4ef6\u6269\u5c55\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Atom<\/strong>\uff1aGitHub\u5f00\u53d1\u7684\u5f00\u6e90\u4ee3\u7801\u7f16\u8f91\u5668\uff0c\u652f\u6301Python\u5f00\u53d1\uff0c\u5177\u6709\u826f\u597d\u7684\u53ef\u5b9a\u5236\u6027\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u9009\u62e9\u5408\u9002\u7684\u4ee3\u7801\u7f16\u8f91\u5668\u6216IDE\u540e\uff0c\u6309\u7167\u5b98\u65b9\u7f51\u7ad9\u7684\u6307\u5bfc\u8fdb\u884c\u4e0b\u8f7d\u548c\u5b89\u88c5\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u5f00\u59cb\u7f16\u5199\u548c\u8fd0\u884cPython\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u9a8c\u8bc1\u5b89\u88c5\u5e76\u8fd0\u884c\u7b80\u5355Python\u7a0b\u5e8f<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u6253\u5f00\u547d\u4ee4\u884c<\/strong>\uff1a\u6309<code>Win + R<\/code>\u952e\uff0c\u8f93\u5165<code>cmd<\/code>\uff0c\u7136\u540e\u6309Enter\u952e\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9a8c\u8bc1Python\u7248\u672c<\/strong>\uff1a\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165<code>python --version<\/code>\uff0c\u67e5\u770b\u8f93\u51fa\u7684Python\u7248\u672c\u4fe1\u606f\uff0c\u4ee5\u786e\u8ba4Python\u662f\u5426\u5df2\u6b63\u786e\u5b89\u88c5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8fd0\u884c\u7b80\u5355\u7684Python\u7a0b\u5e8f<\/strong>\uff1a\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165<code>python<\/code>\u8fdb\u5165Python\u4ea4\u4e92\u6a21\u5f0f\uff0c\u7136\u540e\u8f93\u5165\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">print(&quot;Hello, World!&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5982\u679c\u8f93\u51fa<code>Hello, World!<\/code>\uff0c\u5219\u8bf4\u660ePython\u5df2\u6210\u529f\u5b89\u88c5\u5e76\u53ef\u4ee5\u6b63\u5e38\u4f7f\u7528\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u60a8\u5df2\u7ecf\u5728\u7535\u8111\u4e0a\u6210\u529f\u4e0b\u8f7d\u5e76\u914d\u7f6e\u4e86Python\u7f16\u7a0b\u73af\u5883\u3002\u63a5\u4e0b\u6765\uff0c\u60a8\u53ef\u4ee5\u5f00\u59cb\u5b66\u4e60\u548c\u7f16\u5199Python\u4ee3\u7801\uff0c\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u5e93\u548c\u6846\u67b6\uff0c\u8fdb\u884c\u66f4\u6df1\u5165\u7684Python\u7f16\u7a0b\u5b9e\u8df5\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\u5b89\u88c5Python\uff1f<\/strong><br \/>\u8981\u5728\u7535\u8111\u4e0a\u5b89\u88c5Python\uff0c\u60a8\u53ef\u4ee5\u8bbf\u95eePython\u7684\u5b98\u65b9\u7f51\u7ad9\uff08python.org\uff09\uff0c\u9009\u62e9\u9002\u5408\u60a8\u64cd\u4f5c\u7cfb\u7edf\u7684\u7248\u672c\u8fdb\u884c\u4e0b\u8f7d\u3002\u5b89\u88c5\u7a0b\u5e8f\u4f1a\u5f15\u5bfc\u60a8\u5b8c\u6210\u6574\u4e2a\u5b89\u88c5\u8fc7\u7a0b\u3002\u5728\u5b89\u88c5\u65f6\uff0c\u786e\u4fdd\u52fe\u9009\u201cAdd Python to PATH\u201d\u9009\u9879\uff0c\u8fd9\u6837\u60a8\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e2d\u76f4\u63a5\u4f7f\u7528Python\u3002<\/p>\n<p><strong>\u5b89\u88c5Python\u540e\uff0c\u6211\u5982\u4f55\u9a8c\u8bc1\u5b83\u662f\u5426\u6b63\u786e\u5b89\u88c5\uff1f<\/strong><br \/>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u60a8\u53ef\u4ee5\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff08Windows\uff09\u6216\u7ec8\u7aef\uff08macOS\/Linux\uff09\uff0c\u8f93\u5165<code>python --version<\/code>\u6216<code>python3 --version<\/code>\u3002\u5982\u679c\u6b63\u786e\u5b89\u88c5\uff0c\u60a8\u5c06\u770b\u5230\u5b89\u88c5\u7684Python\u7248\u672c\u53f7\u663e\u793a\u5728\u5c4f\u5e55\u4e0a\u3002\u5982\u679c\u672a\u663e\u793a\uff0c\u5219\u53ef\u80fd\u9700\u8981\u68c0\u67e5PATH\u8bbe\u7f6e\u6216\u91cd\u65b0\u5b89\u88c5\u3002<\/p>\n<p><strong>\u6211\u53ef\u4ee5\u4f7f\u7528Python\u7f16\u7a0b\u5f00\u53d1\u54ea\u4e9b\u7c7b\u578b\u7684\u9879\u76ee\uff1f<\/strong><br \/>Python\u662f\u4e00\u79cd\u591a\u529f\u80fd\u7684\u7f16\u7a0b\u8bed\u8a00\uff0c\u53ef\u4ee5\u7528\u4e8e\u5f00\u53d1\u5404\u79cd\u7c7b\u578b\u7684\u9879\u76ee\uff0c\u5305\u62ec\u7f51\u9875\u5e94\u7528\u3001\u6570\u636e\u5206\u6790\u3001\u673a\u5668\u5b66\u4e60\u3001\u81ea\u52a8\u5316\u811a\u672c\u3001\u6e38\u620f\u5f00\u53d1\u7b49\u3002\u7531\u4e8e\u5176\u4e30\u5bcc\u7684\u5e93\u548c\u6846\u67b6\uff0cPython\u7279\u522b\u9002\u5408\u5feb\u901f\u539f\u578b\u8bbe\u8ba1\u548c\u6570\u636e\u79d1\u5b66\u9886\u57df\u7684\u5e94\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u5728\u7535\u8111\u4e0a\u4e0b\u8f7dPython\u7f16\u7a0b\u73af\u5883\uff0c\u60a8\u9700\u8981\u9009\u62e9\u5408\u9002\u7684Python\u7248\u672c\u3001\u4e0b\u8f7d\u5e76\u5b89\u88c5Python\u89e3\u91ca\u5668\u3001\u914d\u7f6e\u73af\u5883\u53d8 [&hellip;]","protected":false},"author":3,"featured_media":1002407,"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\/1002402"}],"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=1002402"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1002402\/revisions"}],"predecessor-version":[{"id":1002411,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1002402\/revisions\/1002411"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1002407"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1002402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1002402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1002402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}